public static final class ClientProtos.ScanRequest extends com.google.protobuf.GeneratedMessage implements ClientProtos.ScanRequestOrBuilder
ScanRequest
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.
| Modifier and Type | Class and Description |
|---|---|
static class |
ClientProtos.ScanRequest.Builder
Protobuf type
ScanRequest |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| 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 com.google.protobuf.Parser<ClientProtos.ScanRequest> |
PARSER |
static int |
REGION_FIELD_NUMBER |
static int |
SCAN_FIELD_NUMBER |
static int |
SCANNER_ID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
getCloseScanner()
optional bool close_scanner = 5; |
static ClientProtos.ScanRequest |
getDefaultInstance() |
ClientProtos.ScanRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getNextCallSeq()
optional uint64 next_call_seq = 6; |
int |
getNumberOfRows()
optional uint32 number_of_rows = 4; |
com.google.protobuf.Parser<ClientProtos.ScanRequest> |
getParserForType() |
HBaseProtos.RegionSpecifier |
getRegion()
optional .RegionSpecifier region = 1; |
HBaseProtos.RegionSpecifierOrBuilder |
getRegionOrBuilder()
optional .RegionSpecifier region = 1; |
ClientProtos.Scan |
getScan()
optional .Scan scan = 2; |
long |
getScannerId()
optional uint64 scanner_id = 3; |
ClientProtos.ScanOrBuilder |
getScanOrBuilder()
optional .Scan scan = 2; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCloseScanner()
optional bool close_scanner = 5; |
int |
hashCode() |
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; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ClientProtos.ScanRequest.Builder |
newBuilder() |
static ClientProtos.ScanRequest.Builder |
newBuilder(ClientProtos.ScanRequest prototype) |
ClientProtos.ScanRequest.Builder |
newBuilderForType() |
protected ClientProtos.ScanRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static ClientProtos.ScanRequest |
parseDelimitedFrom(InputStream input) |
static ClientProtos.ScanRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientProtos.ScanRequest |
parseFrom(byte[] data) |
static ClientProtos.ScanRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientProtos.ScanRequest |
parseFrom(com.google.protobuf.ByteString data) |
static ClientProtos.ScanRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientProtos.ScanRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ClientProtos.ScanRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ClientProtos.ScanRequest |
parseFrom(InputStream input) |
static ClientProtos.ScanRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ClientProtos.ScanRequest.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<ClientProtos.ScanRequest> PARSER
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 static ClientProtos.ScanRequest getDefaultInstance()
public ClientProtos.ScanRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<ClientProtos.ScanRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasRegion()
optional .RegionSpecifier region = 1;hasRegion in interface ClientProtos.ScanRequestOrBuilderpublic HBaseProtos.RegionSpecifier getRegion()
optional .RegionSpecifier region = 1;getRegion in interface ClientProtos.ScanRequestOrBuilderpublic HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder()
optional .RegionSpecifier region = 1;getRegionOrBuilder in interface ClientProtos.ScanRequestOrBuilderpublic boolean hasScan()
optional .Scan scan = 2;hasScan in interface ClientProtos.ScanRequestOrBuilderpublic ClientProtos.Scan getScan()
optional .Scan scan = 2;getScan in interface ClientProtos.ScanRequestOrBuilderpublic ClientProtos.ScanOrBuilder getScanOrBuilder()
optional .Scan scan = 2;getScanOrBuilder in interface ClientProtos.ScanRequestOrBuilderpublic boolean hasScannerId()
optional uint64 scanner_id = 3;hasScannerId in interface ClientProtos.ScanRequestOrBuilderpublic long getScannerId()
optional uint64 scanner_id = 3;getScannerId in interface ClientProtos.ScanRequestOrBuilderpublic boolean hasNumberOfRows()
optional uint32 number_of_rows = 4;hasNumberOfRows in interface ClientProtos.ScanRequestOrBuilderpublic int getNumberOfRows()
optional uint32 number_of_rows = 4;getNumberOfRows in interface ClientProtos.ScanRequestOrBuilderpublic boolean hasCloseScanner()
optional bool close_scanner = 5;hasCloseScanner in interface ClientProtos.ScanRequestOrBuilderpublic boolean getCloseScanner()
optional bool close_scanner = 5;getCloseScanner in interface ClientProtos.ScanRequestOrBuilderpublic boolean hasNextCallSeq()
optional uint64 next_call_seq = 6;hasNextCallSeq in interface ClientProtos.ScanRequestOrBuilderpublic long getNextCallSeq()
optional uint64 next_call_seq = 6;getNextCallSeq in interface ClientProtos.ScanRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ClientProtos.ScanRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientProtos.ScanRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientProtos.ScanRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientProtos.ScanRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientProtos.ScanRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static ClientProtos.ScanRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClientProtos.ScanRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ClientProtos.ScanRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClientProtos.ScanRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ClientProtos.ScanRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClientProtos.ScanRequest.Builder newBuilder()
public ClientProtos.ScanRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ClientProtos.ScanRequest.Builder newBuilder(ClientProtos.ScanRequest prototype)
public ClientProtos.ScanRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ClientProtos.ScanRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2014 The Apache Software Foundation. All rights reserved.