Package io.dingodb.store
Interface Store.KvScanBeginRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Store.KvScanBeginRequest,Store.KvScanBeginRequest.Builder
- Enclosing class:
- Store
public static interface Store.KvScanBeginRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionregion idregion idcoprocessorcoprocessorbooleanwhether to automatically release resources after reading all the data, the default is false, and the default is automatically releasedbooleanWhether to enable operator pushdown, enabled by default (false: means enabled, true: means disabled)booleanis it just to get the keylongThe 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.getRange()prefix start_key end_key with modeprefix start_key end_key with mode.dingodb.pb.common.RequestInfo request_info = 1;.dingodb.pb.common.RequestInfo request_info = 1;longgetTs()int64 ts = 9;booleanregion idbooleancoprocessorbooleanhasRange()prefix start_key end_key with modeboolean.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; -
hasRange
boolean hasRange()prefix start_key end_key with mode
.dingodb.pb.common.RangeWithOptions range = 3;- Returns:
- Whether the range field is set.
-
getRange
Common.RangeWithOptions getRange()prefix start_key end_key with mode
.dingodb.pb.common.RangeWithOptions range = 3;- Returns:
- The range.
-
getRangeOrBuilder
Common.RangeWithOptionsOrBuilder getRangeOrBuilder()prefix start_key end_key with mode
.dingodb.pb.common.RangeWithOptions range = 3; -
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 = 4;- Returns:
- The maxFetchCnt.
-
getKeyOnly
boolean getKeyOnly()is it just to get the key
bool key_only = 5;- 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 = 6;- Returns:
- The disableAutoRelease.
-
getDisableCoprocessor
boolean getDisableCoprocessor()Whether to enable operator pushdown, enabled by default (false: means enabled, true: means disabled)
bool disable_coprocessor = 7;- Returns:
- The disableCoprocessor.
-
hasCoprocessor
boolean hasCoprocessor()coprocessor
.dingodb.pb.store.Coprocessor coprocessor = 8;- Returns:
- Whether the coprocessor field is set.
-
getCoprocessor
Store.Coprocessor getCoprocessor()coprocessor
.dingodb.pb.store.Coprocessor coprocessor = 8;- Returns:
- The coprocessor.
-
getCoprocessorOrBuilder
Store.CoprocessorOrBuilder getCoprocessorOrBuilder()coprocessor
.dingodb.pb.store.Coprocessor coprocessor = 8; -
getTs
long getTs()int64 ts = 9;- Returns:
- The ts.
-