public static final class ClientPB.ScanRequest extends com.google.protobuf.GeneratedMessageLite implements ClientPB.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 |
ClientPB.ScanRequest.Builder
Protobuf type
ScanRequest |
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>| Modifier and Type | Field and Description |
|---|---|
static int |
CLIENT_HANDLES_HEARTBEATS_FIELD_NUMBER |
static int |
CLIENT_HANDLES_PARTIALS_FIELD_NUMBER |
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 |
RENEW_FIELD_NUMBER |
static int |
SCAN_FIELD_NUMBER |
static int |
SCANNER_ID_FIELD_NUMBER |
static int |
TRACK_SCAN_METRICS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getClientHandlesHeartbeats()
optional bool client_handles_heartbeats = 8; |
boolean |
getClientHandlesPartials()
optional bool client_handles_partials = 7; |
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; |
boolean |
getRenew()
optional bool renew = 10 [default = false]; |
ClientPB.Scan |
getScan()
optional .Scan scan = 2; |
long |
getScannerId()
optional uint64 scanner_id = 3; |
int |
getSerializedSize() |
boolean |
getTrackScanMetrics()
optional bool track_scan_metrics = 9; |
boolean |
hasClientHandlesHeartbeats()
optional bool client_handles_heartbeats = 8; |
boolean |
hasClientHandlesPartials()
optional bool client_handles_partials = 7; |
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 |
hasRenew()
optional bool renew = 10 [default = false]; |
boolean |
hasScan()
optional .Scan scan = 2; |
boolean |
hasScannerId()
optional uint64 scanner_id = 3; |
boolean |
hasTrackScanMetrics()
optional bool track_scan_metrics = 9; |
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) |
makeExtensionsImmutable, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseUnknownFieldpublic 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
public static final int CLIENT_HANDLES_PARTIALS_FIELD_NUMBER
public static final int CLIENT_HANDLES_HEARTBEATS_FIELD_NUMBER
public static final int TRACK_SCAN_METRICS_FIELD_NUMBER
public static final int RENEW_FIELD_NUMBER
public static ClientPB.ScanRequest getDefaultInstance()
public ClientPB.ScanRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilderpublic com.google.protobuf.Parser<ClientPB.ScanRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageLitepublic boolean hasRegion()
optional .RegionSpecifier region = 1;hasRegion in interface ClientPB.ScanRequestOrBuilderpublic HBasePB.RegionSpecifier getRegion()
optional .RegionSpecifier region = 1;getRegion in interface ClientPB.ScanRequestOrBuilderpublic boolean hasScan()
optional .Scan scan = 2;hasScan in interface ClientPB.ScanRequestOrBuilderpublic ClientPB.Scan getScan()
optional .Scan scan = 2;getScan in interface ClientPB.ScanRequestOrBuilderpublic boolean hasScannerId()
optional uint64 scanner_id = 3;hasScannerId in interface ClientPB.ScanRequestOrBuilderpublic long getScannerId()
optional uint64 scanner_id = 3;getScannerId in interface ClientPB.ScanRequestOrBuilderpublic boolean hasNumberOfRows()
optional uint32 number_of_rows = 4;hasNumberOfRows in interface ClientPB.ScanRequestOrBuilderpublic int getNumberOfRows()
optional uint32 number_of_rows = 4;getNumberOfRows in interface ClientPB.ScanRequestOrBuilderpublic boolean hasCloseScanner()
optional bool close_scanner = 5;hasCloseScanner in interface ClientPB.ScanRequestOrBuilderpublic boolean getCloseScanner()
optional bool close_scanner = 5;getCloseScanner in interface ClientPB.ScanRequestOrBuilderpublic boolean hasNextCallSeq()
optional uint64 next_call_seq = 6;hasNextCallSeq in interface ClientPB.ScanRequestOrBuilderpublic long getNextCallSeq()
optional uint64 next_call_seq = 6;getNextCallSeq in interface ClientPB.ScanRequestOrBuilderpublic boolean hasClientHandlesPartials()
optional bool client_handles_partials = 7;hasClientHandlesPartials in interface ClientPB.ScanRequestOrBuilderpublic boolean getClientHandlesPartials()
optional bool client_handles_partials = 7;getClientHandlesPartials in interface ClientPB.ScanRequestOrBuilderpublic boolean hasClientHandlesHeartbeats()
optional bool client_handles_heartbeats = 8;hasClientHandlesHeartbeats in interface ClientPB.ScanRequestOrBuilderpublic boolean getClientHandlesHeartbeats()
optional bool client_handles_heartbeats = 8;getClientHandlesHeartbeats in interface ClientPB.ScanRequestOrBuilderpublic boolean hasTrackScanMetrics()
optional bool track_scan_metrics = 9;hasTrackScanMetrics in interface ClientPB.ScanRequestOrBuilderpublic boolean getTrackScanMetrics()
optional bool track_scan_metrics = 9;getTrackScanMetrics in interface ClientPB.ScanRequestOrBuilderpublic boolean hasRenew()
optional bool renew = 10 [default = false];hasRenew in interface ClientPB.ScanRequestOrBuilderpublic boolean getRenew()
optional bool renew = 10 [default = false];getRenew in interface ClientPB.ScanRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderpublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLiteIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLiteprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageLiteObjectStreamExceptionpublic static ClientPB.ScanRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientPB.ScanRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientPB.ScanRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientPB.ScanRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ClientPB.ScanRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static ClientPB.ScanRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClientPB.ScanRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ClientPB.ScanRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClientPB.ScanRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ClientPB.ScanRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ClientPB.ScanRequest.Builder newBuilder()
public ClientPB.ScanRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessageLitepublic static ClientPB.ScanRequest.Builder newBuilder(ClientPB.ScanRequest prototype)
public ClientPB.ScanRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessageLiteCopyright © 2010-2017, The Async HBase Authors