Package io.dingodb.version
Interface Version.DeleteRangeRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Version.DeleteRangeRequest,Version.DeleteRangeRequest.Builder
- Enclosing class:
- Version
public static interface Version.DeleteRangeRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringgetKey()key is the first key to delete in the range.booleanIf need_prev_kv is set, gets the previous key-value pairs before deleting it.com.google.protobuf.ByteStringrange_end is the key following the last key to delete for the range [key, range_end)..dingodb.pb.common.RequestInfo request_info = 1;.dingodb.pb.common.RequestInfo request_info = 1;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; -
getKey
com.google.protobuf.ByteString getKey()key is the first key to delete in the range.
bytes key = 2;- Returns:
- The key.
-
getRangeEnd
com.google.protobuf.ByteString getRangeEnd()range_end is the key following the last key to delete for the range [key, range_end). If range_end is not given, the range is defined to contain only the key argument. If range_end is one bit larger than the given key, then the range is all the keys with the prefix (the given key). If range_end is '\0', the range is all keys greater than or equal to the key argument.
bytes range_end = 3;- Returns:
- The rangeEnd.
-
getNeedPrevKv
boolean getNeedPrevKv()If need_prev_kv is set, gets the previous key-value pairs before deleting it. The previous key-value pairs will be returned in the delete response.
bool need_prev_kv = 4;- Returns:
- The needPrevKv.
-