Package io.dingodb.store
Interface Store.KvScanBeginRequestV2OrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Store.KvScanBeginRequestV2,Store.KvScanBeginRequestV2.Builder
- Enclosing class:
- Store
public static interface Store.KvScanBeginRequestV2OrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRegion id.Region id.coprocessorcoprocessorbooleanWhether to automatically release resources after reading all the data, the default is false, and the default is automatically releasedbooleanIs it just to get the keylongThe maximum number of requests keys per request.getRange()Prefix start_key end_key with mode.Prefix start_key end_key with mode..dingodb.pb.common.RequestInfo request_info = 1;.dingodb.pb.common.RequestInfo request_info = 1;longThe client provides the equivalent of trace id, which is unique and cannot be repeated.longgetTs()int64 ts = 21;booleanRegion id.booleancoprocessorbooleanhasRange()Prefix start_key end_key with mode.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; -
getScanId
long getScanId()The client provides the equivalent of trace id, which is unique and cannot be repeated.
int64 scan_id = 2;- Returns:
- The scanId.
-
hasContext
boolean hasContext()Region id.
.dingodb.pb.store.Context context = 3;- Returns:
- Whether the context field is set.
-
getContext
Store.Context getContext()Region id.
.dingodb.pb.store.Context context = 3;- Returns:
- The context.
-
getContextOrBuilder
Store.ContextOrBuilder getContextOrBuilder()Region id.
.dingodb.pb.store.Context context = 3; -
hasRange
boolean hasRange()Prefix start_key end_key with mode.
.dingodb.pb.common.RangeWithOptions range = 4;- Returns:
- Whether the range field is set.
-
getRange
Common.RangeWithOptions getRange()Prefix start_key end_key with mode.
.dingodb.pb.common.RangeWithOptions range = 4;- Returns:
- The range.
-
getRangeOrBuilder
Common.RangeWithOptionsOrBuilder getRangeOrBuilder()Prefix start_key end_key with mode.
.dingodb.pb.common.RangeWithOptions range = 4; -
getMaxFetchCnt
long getMaxFetchCnt()The maximum number of requests keys per request. limit = 0 means only scan_id is returned and no data is returned. 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 = 5;- Returns:
- The maxFetchCnt.
-
getKeyOnly
boolean getKeyOnly()Is it just to get the key
bool key_only = 6;- Returns:
- The keyOnly.
-
getDisableAutoRelease
boolean getDisableAutoRelease()Whether to automatically release resources after reading all the data, the default is false, and the default is automatically released
bool disable_auto_release = 7;- Returns:
- The disableAutoRelease.
-
hasCoprocessor
boolean hasCoprocessor()coprocessor
.dingodb.pb.common.CoprocessorV2 coprocessor = 20;- Returns:
- Whether the coprocessor field is set.
-
getCoprocessor
Common.CoprocessorV2 getCoprocessor()coprocessor
.dingodb.pb.common.CoprocessorV2 coprocessor = 20;- Returns:
- The coprocessor.
-
getCoprocessorOrBuilder
Common.CoprocessorV2OrBuilder getCoprocessorOrBuilder()coprocessor
.dingodb.pb.common.CoprocessorV2 coprocessor = 20; -
getTs
long getTs()int64 ts = 21;- Returns:
- The ts.
-