Package io.dingodb.store
Interface Store.KvBatchCompareAndSetRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Store.KvBatchCompareAndSetRequest,Store.KvBatchCompareAndSetRequest.Builder
- Enclosing class:
- Store
public static interface Store.KvBatchCompareAndSetRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.dingodb.pb.store.Context context = 2;.dingodb.pb.store.Context context = 2;com.google.protobuf.ByteStringgetExpectValues(int index) empty means key not existintempty means key not existList<com.google.protobuf.ByteString>empty means key not existbooleanbool is_atomic = 5;getKvs(int index) repeated .dingodb.pb.common.KeyValue kvs = 3;intrepeated .dingodb.pb.common.KeyValue kvs = 3;repeated .dingodb.pb.common.KeyValue kvs = 3;getKvsOrBuilder(int index) repeated .dingodb.pb.common.KeyValue kvs = 3;List<? extends Common.KeyValueOrBuilder>repeated .dingodb.pb.common.KeyValue kvs = 3;.dingodb.pb.common.RequestInfo request_info = 1;.dingodb.pb.common.RequestInfo request_info = 1;longgetTtl()duration time, unit msboolean.dingodb.pb.store.Context context = 2;boolean.dingodb.pb.common.RequestInfo request_info = 1;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasRequestInfo
boolean hasRequestInfo().dingodb.pb.common.RequestInfo request_info = 1;- Returns:
- Whether the requestInfo field is set.
-
getRequestInfo
Common.RequestInfo getRequestInfo().dingodb.pb.common.RequestInfo request_info = 1;- Returns:
- The requestInfo.
-
getRequestInfoOrBuilder
Common.RequestInfoOrBuilder getRequestInfoOrBuilder().dingodb.pb.common.RequestInfo request_info = 1; -
hasContext
boolean hasContext().dingodb.pb.store.Context context = 2;- Returns:
- Whether the context field is set.
-
getContext
Store.Context getContext().dingodb.pb.store.Context context = 2;- Returns:
- The context.
-
getContextOrBuilder
Store.ContextOrBuilder getContextOrBuilder().dingodb.pb.store.Context context = 2; -
getKvsList
List<Common.KeyValue> getKvsList()repeated .dingodb.pb.common.KeyValue kvs = 3; -
getKvs
repeated .dingodb.pb.common.KeyValue kvs = 3; -
getKvsCount
int getKvsCount()repeated .dingodb.pb.common.KeyValue kvs = 3; -
getKvsOrBuilderList
List<? extends Common.KeyValueOrBuilder> getKvsOrBuilderList()repeated .dingodb.pb.common.KeyValue kvs = 3; -
getKvsOrBuilder
repeated .dingodb.pb.common.KeyValue kvs = 3; -
getExpectValuesList
List<com.google.protobuf.ByteString> getExpectValuesList()empty means key not exist
repeated bytes expect_values = 4;- Returns:
- A list containing the expectValues.
-
getExpectValuesCount
int getExpectValuesCount()empty means key not exist
repeated bytes expect_values = 4;- Returns:
- The count of expectValues.
-
getExpectValues
com.google.protobuf.ByteString getExpectValues(int index) empty means key not exist
repeated bytes expect_values = 4;- Parameters:
index- The index of the element to return.- Returns:
- The expectValues at the given index.
-
getIsAtomic
boolean getIsAtomic()bool is_atomic = 5;- Returns:
- The isAtomic.
-
getTtl
long getTtl()duration time, unit ms
int64 ttl = 6;- Returns:
- The ttl.
-