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, parseUnknownField
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
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.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 boolean hasClientHandlesPartials()
optional bool client_handles_partials = 7;
hasClientHandlesPartials
in interface ClientPB.ScanRequestOrBuilder
public boolean getClientHandlesPartials()
optional bool client_handles_partials = 7;
getClientHandlesPartials
in interface ClientPB.ScanRequestOrBuilder
public boolean hasClientHandlesHeartbeats()
optional bool client_handles_heartbeats = 8;
hasClientHandlesHeartbeats
in interface ClientPB.ScanRequestOrBuilder
public boolean getClientHandlesHeartbeats()
optional bool client_handles_heartbeats = 8;
getClientHandlesHeartbeats
in interface ClientPB.ScanRequestOrBuilder
public boolean hasTrackScanMetrics()
optional bool track_scan_metrics = 9;
hasTrackScanMetrics
in interface ClientPB.ScanRequestOrBuilder
public boolean getTrackScanMetrics()
optional bool track_scan_metrics = 9;
getTrackScanMetrics
in interface ClientPB.ScanRequestOrBuilder
public boolean hasRenew()
optional bool renew = 10 [default = false];
hasRenew
in interface ClientPB.ScanRequestOrBuilder
public boolean getRenew()
optional bool renew = 10 [default = false];
getRenew
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
Copyright © 2010-2017, The Async HBase Authors