Package io.dingodb.version
Interface Version.CompactionRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Version.CompactionRequest,Version.CompactionRequest.Builder
- Enclosing class:
- Version
public static interface Version.CompactionRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongthe revision smaller than compact_revision will be compactedcom.google.protobuf.ByteStringgetKey()key is the first key to compact in the range.com.google.protobuf.ByteStringrange_end is the key following the last key to compact 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 compact 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 compact 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.
-
getCompactRevision
long getCompactRevision()the revision smaller than compact_revision will be compacted
int64 compact_revision = 4;- Returns:
- The compactRevision.
-