|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.protobuf.AbstractMessageLite
com.google.protobuf.GeneratedMessageLite
org.hbase.async.generated.ClientPB.ScanRequest
public static final class ClientPB.ScanRequest
Protobuf type 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.
Nested Class Summary | |
---|---|
static class |
ClientPB.ScanRequest.Builder
Protobuf type ScanRequest |
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite |
---|
com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type> |
Field Summary | |
---|---|
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<ClientPB.ScanRequest> |
PARSER
|
static int |
REGION_FIELD_NUMBER
|
static int |
SCAN_FIELD_NUMBER
|
static int |
SCANNER_ID_FIELD_NUMBER
|
Method Summary | |
---|---|
boolean |
getCloseScanner()
optional bool close_scanner = 5; |
static ClientPB.ScanRequest |
getDefaultInstance()
|
ClientPB.ScanRequest |
getDefaultInstanceForType()
|
long |
getNextCallSeq()
optional uint64 next_call_seq = 6; |
int |
getNumberOfRows()
optional uint32 number_of_rows = 4; |
com.google.protobuf.Parser<ClientPB.ScanRequest> |
getParserForType()
|
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; |
boolean |
isInitialized()
|
static ClientPB.ScanRequest.Builder |
newBuilder()
|
static ClientPB.ScanRequest.Builder |
newBuilder(ClientPB.ScanRequest prototype)
|
ClientPB.ScanRequest.Builder |
newBuilderForType()
|
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(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)
|
ClientPB.ScanRequest.Builder |
toBuilder()
|
protected Object |
writeReplace()
|
void |
writeTo(com.google.protobuf.CodedOutputStream output)
|
Methods inherited from class com.google.protobuf.GeneratedMessageLite |
---|
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownField |
Methods inherited from class com.google.protobuf.AbstractMessageLite |
---|
toByteArray, toByteString, writeDelimitedTo, writeTo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static com.google.protobuf.Parser<ClientPB.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
Method Detail |
---|
public static ClientPB.ScanRequest getDefaultInstance()
public ClientPB.ScanRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
public com.google.protobuf.Parser<ClientPB.ScanRequest> getParserForType()
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageLite
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 final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
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
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessageLite
ObjectStreamException
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 ClientPB.ScanRequest.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ClientPB.ScanRequest.Builder newBuilder(ClientPB.ScanRequest prototype)
public ClientPB.ScanRequest.Builder toBuilder()
toBuilder
in interface com.google.protobuf.MessageLite
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |