public static interface Kvrpcpb.ScanRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Kvrpcpb.Context |
getContext()
.kvrpcpb.Context context = 1; |
Kvrpcpb.ContextOrBuilder |
getContextOrBuilder()
.kvrpcpb.Context context = 1; |
com.google.protobuf.ByteString |
getEndKey()
For compatibility, when scanning forward, the range to scan is [start_key, end_key), where start_key < end_key;
and when scanning backward, it scans [end_key, start_key) in descending order, where end_key < start_key.
|
boolean |
getKeyOnly()
Return only the keys found by scanning, not their values.
|
int |
getLimit()
The maximum number of results to return.
|
boolean |
getReverse()
bool reverse = 6; |
int |
getSampleStep()
If sample_step > 0, skips 'sample_step - 1' number of keys after each returned key.
|
com.google.protobuf.ByteString |
getStartKey()
bytes start_key = 2; |
long |
getVersion()
uint64 version = 4; |
boolean |
hasContext()
.kvrpcpb.Context context = 1; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasContext()
.kvrpcpb.Context context = 1;
Kvrpcpb.Context getContext()
.kvrpcpb.Context context = 1;
Kvrpcpb.ContextOrBuilder getContextOrBuilder()
.kvrpcpb.Context context = 1;
com.google.protobuf.ByteString getStartKey()
bytes start_key = 2;
int getLimit()
The maximum number of results to return.
uint32 limit = 3;
long getVersion()
uint64 version = 4;
boolean getKeyOnly()
Return only the keys found by scanning, not their values.
bool key_only = 5;
boolean getReverse()
bool reverse = 6;
com.google.protobuf.ByteString getEndKey()
For compatibility, when scanning forward, the range to scan is [start_key, end_key), where start_key < end_key; and when scanning backward, it scans [end_key, start_key) in descending order, where end_key < start_key.
bytes end_key = 7;
int getSampleStep()
If sample_step > 0, skips 'sample_step - 1' number of keys after each returned key. locks are not checked.
uint32 sample_step = 8;
Copyright © 2024 PingCAP. All rights reserved.