Package io.dingodb.coordinator
Interface Coordinator.ScanRegionsRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Coordinator.ScanRegionsRequest,Coordinator.ScanRegionsRequest.Builder
- Enclosing class:
- Coordinator
public static interface Coordinator.ScanRegionsRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringgetKey()key is the first key for the range.longgetLimit()limit is a limit on the number of keys returned for the request.com.google.protobuf.ByteStringrange_end is the upper bound on the requested 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 for the range. If range_end is not given, the request only looks up key.
bytes key = 2;- Returns:
- The key.
-
getRangeEnd
com.google.protobuf.ByteString getRangeEnd()range_end is the upper bound on the requested range [key, range_end). If range_end is '\0', the range is all keys >= key. If range_end is key plus one (e.g., "aa"+1 == "ab", "a\xff"+1 == "b"), then the range request gets all keys prefixed with key. If both key and range_end are '\0', then the range request returns all keys.
bytes range_end = 3;- Returns:
- The rangeEnd.
-
getLimit
long getLimit()limit is a limit on the number of keys returned for the request. When limit is set to 0, it is treated as no limit.
int64 limit = 4;- Returns:
- The limit.
-