public static final class ClientPB.ScanRequest extends com.google.protobuf.GeneratedMessageLite<ClientPB.ScanRequest,ClientPB.ScanRequest.Builder> implements ClientPB.ScanRequestOrBuilder
A scan request. Initially, it should specify a scan. Later on, you can use the scanner id returned to fetch result batches with a different scan request. The scanner will remain open if there are more results, and it's not asked to be closed explicitly. You can fetch the results and ask the scanner to be closed to save a trip if you are not interested in remaining results.Protobuf type
ScanRequest
Modifier and Type | Class and Description |
---|---|
static class |
ClientPB.ScanRequest.Builder
A scan request.
|
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>, com.google.protobuf.GeneratedMessageLite.MergeFromVisitor, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm, com.google.protobuf.GeneratedMessageLite.Visitor
Modifier and Type | Field and Description |
---|---|
static int |
CLOSE_SCANNER_FIELD_NUMBER |
static int |
NEXT_CALL_SEQ_FIELD_NUMBER |
static int |
NUMBER_OF_ROWS_FIELD_NUMBER |
static int |
REGION_FIELD_NUMBER |
static int |
SCAN_FIELD_NUMBER |
static int |
SCANNER_ID_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
protected Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
Object arg0,
Object arg1) |
boolean |
getCloseScanner()
optional bool close_scanner = 5; |
static ClientPB.ScanRequest |
getDefaultInstance() |
long |
getNextCallSeq()
optional uint64 next_call_seq = 6; |
int |
getNumberOfRows()
optional uint32 number_of_rows = 4; |
HBasePB.RegionSpecifier |
getRegion()
optional .RegionSpecifier region = 1; |
ClientPB.Scan |
getScan()
optional .Scan scan = 2; |
long |
getScannerId()
optional uint64 scanner_id = 3; |
int |
getSerializedSize() |
boolean |
hasCloseScanner()
optional bool close_scanner = 5; |
boolean |
hasNextCallSeq()
optional uint64 next_call_seq = 6; |
boolean |
hasNumberOfRows()
optional uint32 number_of_rows = 4; |
boolean |
hasRegion()
optional .RegionSpecifier region = 1; |
boolean |
hasScan()
optional .Scan scan = 2; |
boolean |
hasScannerId()
optional uint64 scanner_id = 3; |
static ClientPB.ScanRequest.Builder |
newBuilder() |
static ClientPB.ScanRequest.Builder |
newBuilder(ClientPB.ScanRequest prototype) |
static ClientPB.ScanRequest |
parseDelimitedFrom(InputStream input) |
static ClientPB.ScanRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientPB.ScanRequest |
parseFrom(byte[] data) |
static ClientPB.ScanRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientPB.ScanRequest |
parseFrom(ByteBuffer data) |
static ClientPB.ScanRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientPB.ScanRequest |
parseFrom(com.google.protobuf.ByteString data) |
static ClientPB.ScanRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientPB.ScanRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ClientPB.ScanRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientPB.ScanRequest |
parseFrom(InputStream input) |
static ClientPB.ScanRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ClientPB.ScanRequest> |
parser() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, hashCode, isInitialized, isInitialized, makeImmutable, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, toBuilder, toString
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int REGION_FIELD_NUMBER
public static final int SCAN_FIELD_NUMBER
public static final int SCANNER_ID_FIELD_NUMBER
public static final int NUMBER_OF_ROWS_FIELD_NUMBER
public static final int CLOSE_SCANNER_FIELD_NUMBER
public static final int NEXT_CALL_SEQ_FIELD_NUMBER
public boolean hasRegion()
optional .RegionSpecifier region = 1;
hasRegion
in interface ClientPB.ScanRequestOrBuilder
public HBasePB.RegionSpecifier getRegion()
optional .RegionSpecifier region = 1;
getRegion
in interface ClientPB.ScanRequestOrBuilder
public boolean hasScan()
optional .Scan scan = 2;
hasScan
in interface ClientPB.ScanRequestOrBuilder
public ClientPB.Scan getScan()
optional .Scan scan = 2;
getScan
in interface ClientPB.ScanRequestOrBuilder
public boolean hasScannerId()
optional uint64 scanner_id = 3;
hasScannerId
in interface ClientPB.ScanRequestOrBuilder
public long getScannerId()
optional uint64 scanner_id = 3;
getScannerId
in interface ClientPB.ScanRequestOrBuilder
public boolean hasNumberOfRows()
optional uint32 number_of_rows = 4;
hasNumberOfRows
in interface ClientPB.ScanRequestOrBuilder
public int getNumberOfRows()
optional uint32 number_of_rows = 4;
getNumberOfRows
in interface ClientPB.ScanRequestOrBuilder
public boolean hasCloseScanner()
optional bool close_scanner = 5;
hasCloseScanner
in interface ClientPB.ScanRequestOrBuilder
public boolean getCloseScanner()
optional bool close_scanner = 5;
getCloseScanner
in interface ClientPB.ScanRequestOrBuilder
public boolean hasNextCallSeq()
optional uint64 next_call_seq = 6;
hasNextCallSeq
in interface ClientPB.ScanRequestOrBuilder
public long getNextCallSeq()
optional uint64 next_call_seq = 6;
getNextCallSeq
in interface ClientPB.ScanRequestOrBuilder
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
public static ClientPB.ScanRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientPB.ScanRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientPB.ScanRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientPB.ScanRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientPB.ScanRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientPB.ScanRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientPB.ScanRequest parseFrom(InputStream input) throws IOException
IOException
public static ClientPB.ScanRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ClientPB.ScanRequest parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ClientPB.ScanRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ClientPB.ScanRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ClientPB.ScanRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ClientPB.ScanRequest.Builder newBuilder()
public static ClientPB.ScanRequest.Builder newBuilder(ClientPB.ScanRequest prototype)
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
dynamicMethod
in class com.google.protobuf.GeneratedMessageLite<ClientPB.ScanRequest,ClientPB.ScanRequest.Builder>
public static ClientPB.ScanRequest getDefaultInstance()
public static com.google.protobuf.Parser<ClientPB.ScanRequest> parser()
Copyright © 2010–2017 The Async HBase Authors. All rights reserved.