@Generated(value="proto") public static final class ClientProtos.ScanRequest extends com.google.protobuf.GeneratedMessage implements ClientProtos.ScanRequestOrBuilder
hbase.pb.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
hbase.pb.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 |
CLIENT_HANDLES_HEARTBEATS_FIELD_NUMBER |
static int |
CLIENT_HANDLES_PARTIALS_FIELD_NUMBER |
static int |
CLOSE_SCANNER_FIELD_NUMBER |
static int |
LIMIT_OF_ROWS_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 |
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 |
equals(Object obj) |
boolean |
getClientHandlesHeartbeats()
optional bool client_handles_heartbeats = 8; |
boolean |
getClientHandlesPartials()
optional bool client_handles_partials = 7; |
boolean |
getCloseScanner()
optional bool close_scanner = 5; |
static ClientProtos.ScanRequest |
getDefaultInstance() |
ClientProtos.ScanRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getLimitOfRows()
optional uint32 limit_of_rows = 11 [default = 0]; |
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 .hbase.pb.RegionSpecifier region = 1; |
HBaseProtos.RegionSpecifierOrBuilder |
getRegionOrBuilder()
optional .hbase.pb.RegionSpecifier region = 1; |
boolean |
getRenew()
optional bool renew = 10 [default = false]; |
ClientProtos.Scan |
getScan()
optional .hbase.pb.Scan scan = 2; |
long |
getScannerId()
optional uint64 scanner_id = 3; |
ClientProtos.ScanOrBuilder |
getScanOrBuilder()
optional .hbase.pb.Scan scan = 2; |
int |
getSerializedSize() |
boolean |
getTrackScanMetrics()
optional bool track_scan_metrics = 9; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasClientHandlesHeartbeats()
optional bool client_handles_heartbeats = 8; |
boolean |
hasClientHandlesPartials()
optional bool client_handles_partials = 7; |
boolean |
hasCloseScanner()
optional bool close_scanner = 5; |
int |
hashCode() |
boolean |
hasLimitOfRows()
optional uint32 limit_of_rows = 11 [default = 0]; |
boolean |
hasNextCallSeq()
optional uint64 next_call_seq = 6; |
boolean |
hasNumberOfRows()
optional uint32 number_of_rows = 4; |
boolean |
hasRegion()
optional .hbase.pb.RegionSpecifier region = 1; |
boolean |
hasRenew()
optional bool renew = 10 [default = false]; |
boolean |
hasScan()
optional .hbase.pb.Scan scan = 2; |
boolean |
hasScannerId()
optional uint64 scanner_id = 3; |
boolean |
hasTrackScanMetrics()
optional bool track_scan_metrics = 9; |
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, parseUnknownField
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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 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 final int LIMIT_OF_ROWS_FIELD_NUMBER
public static ClientProtos.ScanRequest getDefaultInstance()
public ClientProtos.ScanRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<ClientProtos.ScanRequest> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasRegion()
optional .hbase.pb.RegionSpecifier region = 1;
hasRegion
in interface ClientProtos.ScanRequestOrBuilder
public HBaseProtos.RegionSpecifier getRegion()
optional .hbase.pb.RegionSpecifier region = 1;
getRegion
in interface ClientProtos.ScanRequestOrBuilder
public HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder()
optional .hbase.pb.RegionSpecifier region = 1;
getRegionOrBuilder
in interface ClientProtos.ScanRequestOrBuilder
public boolean hasScan()
optional .hbase.pb.Scan scan = 2;
hasScan
in interface ClientProtos.ScanRequestOrBuilder
public ClientProtos.Scan getScan()
optional .hbase.pb.Scan scan = 2;
getScan
in interface ClientProtos.ScanRequestOrBuilder
public ClientProtos.ScanOrBuilder getScanOrBuilder()
optional .hbase.pb.Scan scan = 2;
getScanOrBuilder
in interface ClientProtos.ScanRequestOrBuilder
public boolean hasScannerId()
optional uint64 scanner_id = 3;
hasScannerId
in interface ClientProtos.ScanRequestOrBuilder
public long getScannerId()
optional uint64 scanner_id = 3;
getScannerId
in interface ClientProtos.ScanRequestOrBuilder
public boolean hasNumberOfRows()
optional uint32 number_of_rows = 4;
hasNumberOfRows
in interface ClientProtos.ScanRequestOrBuilder
public int getNumberOfRows()
optional uint32 number_of_rows = 4;
getNumberOfRows
in interface ClientProtos.ScanRequestOrBuilder
public boolean hasCloseScanner()
optional bool close_scanner = 5;
hasCloseScanner
in interface ClientProtos.ScanRequestOrBuilder
public boolean getCloseScanner()
optional bool close_scanner = 5;
getCloseScanner
in interface ClientProtos.ScanRequestOrBuilder
public boolean hasNextCallSeq()
optional uint64 next_call_seq = 6;
hasNextCallSeq
in interface ClientProtos.ScanRequestOrBuilder
public long getNextCallSeq()
optional uint64 next_call_seq = 6;
getNextCallSeq
in interface ClientProtos.ScanRequestOrBuilder
public boolean hasClientHandlesPartials()
optional bool client_handles_partials = 7;
hasClientHandlesPartials
in interface ClientProtos.ScanRequestOrBuilder
public boolean getClientHandlesPartials()
optional bool client_handles_partials = 7;
getClientHandlesPartials
in interface ClientProtos.ScanRequestOrBuilder
public boolean hasClientHandlesHeartbeats()
optional bool client_handles_heartbeats = 8;
hasClientHandlesHeartbeats
in interface ClientProtos.ScanRequestOrBuilder
public boolean getClientHandlesHeartbeats()
optional bool client_handles_heartbeats = 8;
getClientHandlesHeartbeats
in interface ClientProtos.ScanRequestOrBuilder
public boolean hasTrackScanMetrics()
optional bool track_scan_metrics = 9;
hasTrackScanMetrics
in interface ClientProtos.ScanRequestOrBuilder
public boolean getTrackScanMetrics()
optional bool track_scan_metrics = 9;
getTrackScanMetrics
in interface ClientProtos.ScanRequestOrBuilder
public boolean hasRenew()
optional bool renew = 10 [default = false];
hasRenew
in interface ClientProtos.ScanRequestOrBuilder
public boolean getRenew()
optional bool renew = 10 [default = false];
getRenew
in interface ClientProtos.ScanRequestOrBuilder
public boolean hasLimitOfRows()
optional uint32 limit_of_rows = 11 [default = 0];
if we have returned limit_of_rows rows to client, then close the scanner.
hasLimitOfRows
in interface ClientProtos.ScanRequestOrBuilder
public int getLimitOfRows()
optional uint32 limit_of_rows = 11 [default = 0];
if we have returned limit_of_rows rows to client, then close the scanner.
getLimitOfRows
in interface ClientProtos.ScanRequestOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static ClientProtos.ScanRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientProtos.ScanRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientProtos.ScanRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientProtos.ScanRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ClientProtos.ScanRequest parseFrom(InputStream input) throws IOException
IOException
public static ClientProtos.ScanRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ClientProtos.ScanRequest parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ClientProtos.ScanRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ClientProtos.ScanRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ClientProtos.ScanRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ClientProtos.ScanRequest.Builder newBuilder()
public ClientProtos.ScanRequest.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ClientProtos.ScanRequest.Builder newBuilder(ClientProtos.ScanRequest prototype)
public ClientProtos.ScanRequest.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected ClientProtos.ScanRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2007–2019 Cloudera. All rights reserved.