Package io.dingodb.store
Interface Store.KvScanContinueRequestV2OrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Store.KvScanContinueRequestV2,Store.KvScanContinueRequestV2.Builder
- Enclosing class:
- Store
public static interface Store.KvScanContinueRequestV2OrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionregion idregion idlongThe maximum number of requests keys per request If max_fetch_cnt > 0, it means to return scan_id and data..dingodb.pb.common.RequestInfo request_info = 1;.dingodb.pb.common.RequestInfo request_info = 1;longuniquely identifies this scanbooleanregion idboolean.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()region id
.dingodb.pb.store.Context context = 2;- Returns:
- Whether the context field is set.
-
getContext
Store.Context getContext()region id
.dingodb.pb.store.Context context = 2;- Returns:
- The context.
-
getContextOrBuilder
Store.ContextOrBuilder getContextOrBuilder()region id
.dingodb.pb.store.Context context = 2; -
getScanId
long getScanId()uniquely identifies this scan
int64 scan_id = 3;- Returns:
- The scanId.
-
getMaxFetchCnt
long getMaxFetchCnt()The maximum number of requests keys per request If max_fetch_cnt > 0, it means to return scan_id and data. Note that in this way, the return will be slower because the data needs to be prepared For example: max_fetch_cnt = 10000, which means that the maximum number of kv items in this request is 10000, which is just a suggested value. If the maximum number of kv items in the server is 1000, The data returned each time is only 1000 pieces of data. Note: only the maximum number of kv pairs per request
int64 max_fetch_cnt = 4;- Returns:
- The maxFetchCnt.
-