public static final class ClientProtos.ScanResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ClientProtos.ScanResponse.Builder> implements ClientProtos.ScanResponseOrBuilder
hbase.pb.ScanResponse
The scan response. If there are no more results, more_results will be false. If it is not specified, it means there are more.
| 限定符和类型 | 方法和说明 |
|---|---|
ClientProtos.ScanResponse.Builder |
addAllCellsPerResult(Iterable<? extends Integer> values)
repeated uint32 cells_per_result = 1;
This field is filled in if we are doing cellblocks. |
ClientProtos.ScanResponse.Builder |
addAllPartialFlagPerResult(Iterable<? extends Boolean> values)
repeated bool partial_flag_per_result = 7;
This field is filled in if we are doing cellblocks. |
ClientProtos.ScanResponse.Builder |
addAllResults(Iterable<? extends ClientProtos.Result> values)
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. |
ClientProtos.ScanResponse.Builder |
addCellsPerResult(int value)
repeated uint32 cells_per_result = 1;
This field is filled in if we are doing cellblocks. |
ClientProtos.ScanResponse.Builder |
addPartialFlagPerResult(boolean value)
repeated bool partial_flag_per_result = 7;
This field is filled in if we are doing cellblocks. |
ClientProtos.ScanResponse.Builder |
addResults(ClientProtos.Result.Builder builderForValue)
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. |
ClientProtos.ScanResponse.Builder |
addResults(ClientProtos.Result value)
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. |
ClientProtos.ScanResponse.Builder |
addResults(int index,
ClientProtos.Result.Builder builderForValue)
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. |
ClientProtos.ScanResponse.Builder |
addResults(int index,
ClientProtos.Result value)
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. |
ClientProtos.Result.Builder |
addResultsBuilder()
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. |
ClientProtos.Result.Builder |
addResultsBuilder(int index)
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. |
ClientProtos.ScanResponse |
build() |
ClientProtos.ScanResponse |
buildPartial() |
ClientProtos.ScanResponse.Builder |
clear() |
ClientProtos.ScanResponse.Builder |
clearCellsPerResult()
repeated uint32 cells_per_result = 1;
This field is filled in if we are doing cellblocks. |
ClientProtos.ScanResponse.Builder |
clearCursor()
optional .hbase.pb.Cursor cursor = 12;
If the Scan need cursor, return the row key we are scanning in heartbeat message. |
ClientProtos.ScanResponse.Builder |
clearHeartbeatMessage()
optional bool heartbeat_message = 9;
This field is filled in if the server is sending back a heartbeat message. |
ClientProtos.ScanResponse.Builder |
clearMoreResults()
optional bool more_results = 3; |
ClientProtos.ScanResponse.Builder |
clearMoreResultsInRegion()
optional bool more_results_in_region = 8;
A server may choose to limit the number of results returned to the client for
reasons such as the size in bytes or quantity of results accumulated. |
ClientProtos.ScanResponse.Builder |
clearMvccReadPoint()
optional uint64 mvcc_read_point = 11 [default = 0];
The mvcc read point which is used to open the scanner at server side. |
ClientProtos.ScanResponse.Builder |
clearPartialFlagPerResult()
repeated bool partial_flag_per_result = 7;
This field is filled in if we are doing cellblocks. |
ClientProtos.ScanResponse.Builder |
clearResults()
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. |
ClientProtos.ScanResponse.Builder |
clearScanMetrics()
optional .hbase.pb.ScanMetrics scan_metrics = 10;
This field is filled in if the client has requested that scan metrics be tracked. |
ClientProtos.ScanResponse.Builder |
clearScannerId()
optional uint64 scanner_id = 2; |
ClientProtos.ScanResponse.Builder |
clearStale()
optional bool stale = 6; |
ClientProtos.ScanResponse.Builder |
clearTtl()
optional uint32 ttl = 4; |
ClientProtos.ScanResponse.Builder |
clone() |
int |
getCellsPerResult(int index)
repeated uint32 cells_per_result = 1;
This field is filled in if we are doing cellblocks. |
int |
getCellsPerResultCount()
repeated uint32 cells_per_result = 1;
This field is filled in if we are doing cellblocks. |
List<Integer> |
getCellsPerResultList()
repeated uint32 cells_per_result = 1;
This field is filled in if we are doing cellblocks. |
ClientProtos.Cursor |
getCursor()
optional .hbase.pb.Cursor cursor = 12;
If the Scan need cursor, return the row key we are scanning in heartbeat message. |
ClientProtos.Cursor.Builder |
getCursorBuilder()
optional .hbase.pb.Cursor cursor = 12;
If the Scan need cursor, return the row key we are scanning in heartbeat message. |
ClientProtos.CursorOrBuilder |
getCursorOrBuilder()
optional .hbase.pb.Cursor cursor = 12;
If the Scan need cursor, return the row key we are scanning in heartbeat message. |
ClientProtos.ScanResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getHeartbeatMessage()
optional bool heartbeat_message = 9;
This field is filled in if the server is sending back a heartbeat message. |
boolean |
getMoreResults()
optional bool more_results = 3; |
boolean |
getMoreResultsInRegion()
optional bool more_results_in_region = 8;
A server may choose to limit the number of results returned to the client for
reasons such as the size in bytes or quantity of results accumulated. |
long |
getMvccReadPoint()
optional uint64 mvcc_read_point = 11 [default = 0];
The mvcc read point which is used to open the scanner at server side. |
boolean |
getPartialFlagPerResult(int index)
repeated bool partial_flag_per_result = 7;
This field is filled in if we are doing cellblocks. |
int |
getPartialFlagPerResultCount()
repeated bool partial_flag_per_result = 7;
This field is filled in if we are doing cellblocks. |
List<Boolean> |
getPartialFlagPerResultList()
repeated bool partial_flag_per_result = 7;
This field is filled in if we are doing cellblocks. |
ClientProtos.Result |
getResults(int index)
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. |
ClientProtos.Result.Builder |
getResultsBuilder(int index)
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. |
List<ClientProtos.Result.Builder> |
getResultsBuilderList()
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. |
int |
getResultsCount()
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. |
List<ClientProtos.Result> |
getResultsList()
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. |
ClientProtos.ResultOrBuilder |
getResultsOrBuilder(int index)
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. |
List<? extends ClientProtos.ResultOrBuilder> |
getResultsOrBuilderList()
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. |
MapReduceProtos.ScanMetrics |
getScanMetrics()
optional .hbase.pb.ScanMetrics scan_metrics = 10;
This field is filled in if the client has requested that scan metrics be tracked. |
MapReduceProtos.ScanMetrics.Builder |
getScanMetricsBuilder()
optional .hbase.pb.ScanMetrics scan_metrics = 10;
This field is filled in if the client has requested that scan metrics be tracked. |
MapReduceProtos.ScanMetricsOrBuilder |
getScanMetricsOrBuilder()
optional .hbase.pb.ScanMetrics scan_metrics = 10;
This field is filled in if the client has requested that scan metrics be tracked. |
long |
getScannerId()
optional uint64 scanner_id = 2; |
boolean |
getStale()
optional bool stale = 6; |
int |
getTtl()
optional uint32 ttl = 4; |
boolean |
hasCursor()
optional .hbase.pb.Cursor cursor = 12;
If the Scan need cursor, return the row key we are scanning in heartbeat message. |
boolean |
hasHeartbeatMessage()
optional bool heartbeat_message = 9;
This field is filled in if the server is sending back a heartbeat message. |
boolean |
hasMoreResults()
optional bool more_results = 3; |
boolean |
hasMoreResultsInRegion()
optional bool more_results_in_region = 8;
A server may choose to limit the number of results returned to the client for
reasons such as the size in bytes or quantity of results accumulated. |
boolean |
hasMvccReadPoint()
optional uint64 mvcc_read_point = 11 [default = 0];
The mvcc read point which is used to open the scanner at server side. |
boolean |
hasScanMetrics()
optional .hbase.pb.ScanMetrics scan_metrics = 10;
This field is filled in if the client has requested that scan metrics be tracked. |
boolean |
hasScannerId()
optional uint64 scanner_id = 2; |
boolean |
hasStale()
optional bool stale = 6; |
boolean |
hasTtl()
optional uint32 ttl = 4; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ClientProtos.ScanResponse.Builder |
mergeCursor(ClientProtos.Cursor value)
optional .hbase.pb.Cursor cursor = 12;
If the Scan need cursor, return the row key we are scanning in heartbeat message. |
ClientProtos.ScanResponse.Builder |
mergeFrom(ClientProtos.ScanResponse other) |
ClientProtos.ScanResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ClientProtos.ScanResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ClientProtos.ScanResponse.Builder |
mergeScanMetrics(MapReduceProtos.ScanMetrics value)
optional .hbase.pb.ScanMetrics scan_metrics = 10;
This field is filled in if the client has requested that scan metrics be tracked. |
ClientProtos.ScanResponse.Builder |
removeResults(int index)
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. |
ClientProtos.ScanResponse.Builder |
setCellsPerResult(int index,
int value)
repeated uint32 cells_per_result = 1;
This field is filled in if we are doing cellblocks. |
ClientProtos.ScanResponse.Builder |
setCursor(ClientProtos.Cursor.Builder builderForValue)
optional .hbase.pb.Cursor cursor = 12;
If the Scan need cursor, return the row key we are scanning in heartbeat message. |
ClientProtos.ScanResponse.Builder |
setCursor(ClientProtos.Cursor value)
optional .hbase.pb.Cursor cursor = 12;
If the Scan need cursor, return the row key we are scanning in heartbeat message. |
ClientProtos.ScanResponse.Builder |
setHeartbeatMessage(boolean value)
optional bool heartbeat_message = 9;
This field is filled in if the server is sending back a heartbeat message. |
ClientProtos.ScanResponse.Builder |
setMoreResults(boolean value)
optional bool more_results = 3; |
ClientProtos.ScanResponse.Builder |
setMoreResultsInRegion(boolean value)
optional bool more_results_in_region = 8;
A server may choose to limit the number of results returned to the client for
reasons such as the size in bytes or quantity of results accumulated. |
ClientProtos.ScanResponse.Builder |
setMvccReadPoint(long value)
optional uint64 mvcc_read_point = 11 [default = 0];
The mvcc read point which is used to open the scanner at server side. |
ClientProtos.ScanResponse.Builder |
setPartialFlagPerResult(int index,
boolean value)
repeated bool partial_flag_per_result = 7;
This field is filled in if we are doing cellblocks. |
ClientProtos.ScanResponse.Builder |
setResults(int index,
ClientProtos.Result.Builder builderForValue)
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. |
ClientProtos.ScanResponse.Builder |
setResults(int index,
ClientProtos.Result value)
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. |
ClientProtos.ScanResponse.Builder |
setScanMetrics(MapReduceProtos.ScanMetrics.Builder builderForValue)
optional .hbase.pb.ScanMetrics scan_metrics = 10;
This field is filled in if the client has requested that scan metrics be tracked. |
ClientProtos.ScanResponse.Builder |
setScanMetrics(MapReduceProtos.ScanMetrics value)
optional .hbase.pb.ScanMetrics scan_metrics = 10;
This field is filled in if the client has requested that scan metrics be tracked. |
ClientProtos.ScanResponse.Builder |
setScannerId(long value)
optional uint64 scanner_id = 2; |
ClientProtos.ScanResponse.Builder |
setStale(boolean value)
optional bool stale = 6; |
ClientProtos.ScanResponse.Builder |
setTtl(int value)
optional uint32 ttl = 4; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldsfindInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessage.Builder<ClientProtos.ScanResponse.Builder>public ClientProtos.ScanResponse.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessage.Builder<ClientProtos.ScanResponse.Builder>public ClientProtos.ScanResponse.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessage.Builder<ClientProtos.ScanResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessage.Builder<ClientProtos.ScanResponse.Builder>public ClientProtos.ScanResponse getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic ClientProtos.ScanResponse build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic ClientProtos.ScanResponse buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic ClientProtos.ScanResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<ClientProtos.ScanResponse.Builder>public ClientProtos.ScanResponse.Builder mergeFrom(ClientProtos.ScanResponse other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessage.Builder<ClientProtos.ScanResponse.Builder>public ClientProtos.ScanResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在接口中 com.google.protobuf.MessageLite.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<ClientProtos.ScanResponse.Builder>IOExceptionpublic List<Integer> getCellsPerResultList()
repeated uint32 cells_per_result = 1;
This field is filled in if we are doing cellblocks. A cellblock is made up of all Cells serialized out as one cellblock BUT responses from a server have their Cells grouped by Result. So we can reconstitute the Results on the client-side, this field is a list of counts of Cells in each Result that makes up the response. For example, if this field has 3, 3, 3 in it, then we know that on the client, we are to make three Results each of three Cells each.
public int getCellsPerResultCount()
repeated uint32 cells_per_result = 1;
This field is filled in if we are doing cellblocks. A cellblock is made up of all Cells serialized out as one cellblock BUT responses from a server have their Cells grouped by Result. So we can reconstitute the Results on the client-side, this field is a list of counts of Cells in each Result that makes up the response. For example, if this field has 3, 3, 3 in it, then we know that on the client, we are to make three Results each of three Cells each.
public int getCellsPerResult(int index)
repeated uint32 cells_per_result = 1;
This field is filled in if we are doing cellblocks. A cellblock is made up of all Cells serialized out as one cellblock BUT responses from a server have their Cells grouped by Result. So we can reconstitute the Results on the client-side, this field is a list of counts of Cells in each Result that makes up the response. For example, if this field has 3, 3, 3 in it, then we know that on the client, we are to make three Results each of three Cells each.
public ClientProtos.ScanResponse.Builder setCellsPerResult(int index, int value)
repeated uint32 cells_per_result = 1;
This field is filled in if we are doing cellblocks. A cellblock is made up of all Cells serialized out as one cellblock BUT responses from a server have their Cells grouped by Result. So we can reconstitute the Results on the client-side, this field is a list of counts of Cells in each Result that makes up the response. For example, if this field has 3, 3, 3 in it, then we know that on the client, we are to make three Results each of three Cells each.
public ClientProtos.ScanResponse.Builder addCellsPerResult(int value)
repeated uint32 cells_per_result = 1;
This field is filled in if we are doing cellblocks. A cellblock is made up of all Cells serialized out as one cellblock BUT responses from a server have their Cells grouped by Result. So we can reconstitute the Results on the client-side, this field is a list of counts of Cells in each Result that makes up the response. For example, if this field has 3, 3, 3 in it, then we know that on the client, we are to make three Results each of three Cells each.
public ClientProtos.ScanResponse.Builder addAllCellsPerResult(Iterable<? extends Integer> values)
repeated uint32 cells_per_result = 1;
This field is filled in if we are doing cellblocks. A cellblock is made up of all Cells serialized out as one cellblock BUT responses from a server have their Cells grouped by Result. So we can reconstitute the Results on the client-side, this field is a list of counts of Cells in each Result that makes up the response. For example, if this field has 3, 3, 3 in it, then we know that on the client, we are to make three Results each of three Cells each.
public ClientProtos.ScanResponse.Builder clearCellsPerResult()
repeated uint32 cells_per_result = 1;
This field is filled in if we are doing cellblocks. A cellblock is made up of all Cells serialized out as one cellblock BUT responses from a server have their Cells grouped by Result. So we can reconstitute the Results on the client-side, this field is a list of counts of Cells in each Result that makes up the response. For example, if this field has 3, 3, 3 in it, then we know that on the client, we are to make three Results each of three Cells each.
public boolean hasScannerId()
optional uint64 scanner_id = 2;public long getScannerId()
optional uint64 scanner_id = 2;public ClientProtos.ScanResponse.Builder setScannerId(long value)
optional uint64 scanner_id = 2;public ClientProtos.ScanResponse.Builder clearScannerId()
optional uint64 scanner_id = 2;public boolean hasMoreResults()
optional bool more_results = 3;public boolean getMoreResults()
optional bool more_results = 3;public ClientProtos.ScanResponse.Builder setMoreResults(boolean value)
optional bool more_results = 3;public ClientProtos.ScanResponse.Builder clearMoreResults()
optional bool more_results = 3;public boolean hasTtl()
optional uint32 ttl = 4;hasTtl 在接口中 ClientProtos.ScanResponseOrBuilderpublic int getTtl()
optional uint32 ttl = 4;getTtl 在接口中 ClientProtos.ScanResponseOrBuilderpublic ClientProtos.ScanResponse.Builder setTtl(int value)
optional uint32 ttl = 4;public ClientProtos.ScanResponse.Builder clearTtl()
optional uint32 ttl = 4;public List<ClientProtos.Result> getResultsList()
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
public int getResultsCount()
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
public ClientProtos.Result getResults(int index)
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
getResults 在接口中 ClientProtos.ScanResponseOrBuilderpublic ClientProtos.ScanResponse.Builder setResults(int index, ClientProtos.Result value)
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
public ClientProtos.ScanResponse.Builder setResults(int index, ClientProtos.Result.Builder builderForValue)
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
public ClientProtos.ScanResponse.Builder addResults(ClientProtos.Result value)
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
public ClientProtos.ScanResponse.Builder addResults(int index, ClientProtos.Result value)
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
public ClientProtos.ScanResponse.Builder addResults(ClientProtos.Result.Builder builderForValue)
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
public ClientProtos.ScanResponse.Builder addResults(int index, ClientProtos.Result.Builder builderForValue)
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
public ClientProtos.ScanResponse.Builder addAllResults(Iterable<? extends ClientProtos.Result> values)
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
public ClientProtos.ScanResponse.Builder clearResults()
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
public ClientProtos.ScanResponse.Builder removeResults(int index)
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
public ClientProtos.Result.Builder getResultsBuilder(int index)
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
public ClientProtos.ResultOrBuilder getResultsOrBuilder(int index)
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
public List<? extends ClientProtos.ResultOrBuilder> getResultsOrBuilderList()
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
public ClientProtos.Result.Builder addResultsBuilder()
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
public ClientProtos.Result.Builder addResultsBuilder(int index)
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
public List<ClientProtos.Result.Builder> getResultsBuilderList()
repeated .hbase.pb.Result results = 5;
If cells are not carried in an accompanying cellblock, then they are pb'd here. This field is mutually exclusive with cells_per_result (since the Cells will be inside the pb'd Result)
public boolean hasStale()
optional bool stale = 6;hasStale 在接口中 ClientProtos.ScanResponseOrBuilderpublic boolean getStale()
optional bool stale = 6;getStale 在接口中 ClientProtos.ScanResponseOrBuilderpublic ClientProtos.ScanResponse.Builder setStale(boolean value)
optional bool stale = 6;public ClientProtos.ScanResponse.Builder clearStale()
optional bool stale = 6;public List<Boolean> getPartialFlagPerResultList()
repeated bool partial_flag_per_result = 7;
This field is filled in if we are doing cellblocks. In the event that a row could not fit all of its cells into a single RPC chunk, the results will be returned as partials, and reconstructed into a complete result on the client side. This field is a list of flags indicating whether or not the result that the cells belong to is a partial result. For example, if this field has false, false, true in it, then we know that on the client side, we need to make another RPC request since the last result was only a partial.
public int getPartialFlagPerResultCount()
repeated bool partial_flag_per_result = 7;
This field is filled in if we are doing cellblocks. In the event that a row could not fit all of its cells into a single RPC chunk, the results will be returned as partials, and reconstructed into a complete result on the client side. This field is a list of flags indicating whether or not the result that the cells belong to is a partial result. For example, if this field has false, false, true in it, then we know that on the client side, we need to make another RPC request since the last result was only a partial.
public boolean getPartialFlagPerResult(int index)
repeated bool partial_flag_per_result = 7;
This field is filled in if we are doing cellblocks. In the event that a row could not fit all of its cells into a single RPC chunk, the results will be returned as partials, and reconstructed into a complete result on the client side. This field is a list of flags indicating whether or not the result that the cells belong to is a partial result. For example, if this field has false, false, true in it, then we know that on the client side, we need to make another RPC request since the last result was only a partial.
public ClientProtos.ScanResponse.Builder setPartialFlagPerResult(int index, boolean value)
repeated bool partial_flag_per_result = 7;
This field is filled in if we are doing cellblocks. In the event that a row could not fit all of its cells into a single RPC chunk, the results will be returned as partials, and reconstructed into a complete result on the client side. This field is a list of flags indicating whether or not the result that the cells belong to is a partial result. For example, if this field has false, false, true in it, then we know that on the client side, we need to make another RPC request since the last result was only a partial.
public ClientProtos.ScanResponse.Builder addPartialFlagPerResult(boolean value)
repeated bool partial_flag_per_result = 7;
This field is filled in if we are doing cellblocks. In the event that a row could not fit all of its cells into a single RPC chunk, the results will be returned as partials, and reconstructed into a complete result on the client side. This field is a list of flags indicating whether or not the result that the cells belong to is a partial result. For example, if this field has false, false, true in it, then we know that on the client side, we need to make another RPC request since the last result was only a partial.
public ClientProtos.ScanResponse.Builder addAllPartialFlagPerResult(Iterable<? extends Boolean> values)
repeated bool partial_flag_per_result = 7;
This field is filled in if we are doing cellblocks. In the event that a row could not fit all of its cells into a single RPC chunk, the results will be returned as partials, and reconstructed into a complete result on the client side. This field is a list of flags indicating whether or not the result that the cells belong to is a partial result. For example, if this field has false, false, true in it, then we know that on the client side, we need to make another RPC request since the last result was only a partial.
public ClientProtos.ScanResponse.Builder clearPartialFlagPerResult()
repeated bool partial_flag_per_result = 7;
This field is filled in if we are doing cellblocks. In the event that a row could not fit all of its cells into a single RPC chunk, the results will be returned as partials, and reconstructed into a complete result on the client side. This field is a list of flags indicating whether or not the result that the cells belong to is a partial result. For example, if this field has false, false, true in it, then we know that on the client side, we need to make another RPC request since the last result was only a partial.
public boolean hasMoreResultsInRegion()
optional bool more_results_in_region = 8;
A server may choose to limit the number of results returned to the client for reasons such as the size in bytes or quantity of results accumulated. This field will true when more results exist in the current region.
public boolean getMoreResultsInRegion()
optional bool more_results_in_region = 8;
A server may choose to limit the number of results returned to the client for reasons such as the size in bytes or quantity of results accumulated. This field will true when more results exist in the current region.
public ClientProtos.ScanResponse.Builder setMoreResultsInRegion(boolean value)
optional bool more_results_in_region = 8;
A server may choose to limit the number of results returned to the client for reasons such as the size in bytes or quantity of results accumulated. This field will true when more results exist in the current region.
public ClientProtos.ScanResponse.Builder clearMoreResultsInRegion()
optional bool more_results_in_region = 8;
A server may choose to limit the number of results returned to the client for reasons such as the size in bytes or quantity of results accumulated. This field will true when more results exist in the current region.
public boolean hasHeartbeatMessage()
optional bool heartbeat_message = 9;
This field is filled in if the server is sending back a heartbeat message. Heartbeat messages are sent back to the client to prevent the scanner from timing out. Seeing a heartbeat message communicates to the Client that the server would have continued to scan had the time limit not been reached.
public boolean getHeartbeatMessage()
optional bool heartbeat_message = 9;
This field is filled in if the server is sending back a heartbeat message. Heartbeat messages are sent back to the client to prevent the scanner from timing out. Seeing a heartbeat message communicates to the Client that the server would have continued to scan had the time limit not been reached.
public ClientProtos.ScanResponse.Builder setHeartbeatMessage(boolean value)
optional bool heartbeat_message = 9;
This field is filled in if the server is sending back a heartbeat message. Heartbeat messages are sent back to the client to prevent the scanner from timing out. Seeing a heartbeat message communicates to the Client that the server would have continued to scan had the time limit not been reached.
public ClientProtos.ScanResponse.Builder clearHeartbeatMessage()
optional bool heartbeat_message = 9;
This field is filled in if the server is sending back a heartbeat message. Heartbeat messages are sent back to the client to prevent the scanner from timing out. Seeing a heartbeat message communicates to the Client that the server would have continued to scan had the time limit not been reached.
public boolean hasScanMetrics()
optional .hbase.pb.ScanMetrics scan_metrics = 10;
This field is filled in if the client has requested that scan metrics be tracked. The metrics tracked here are sent back to the client to be tracked together with the existing client side metrics.
public MapReduceProtos.ScanMetrics getScanMetrics()
optional .hbase.pb.ScanMetrics scan_metrics = 10;
This field is filled in if the client has requested that scan metrics be tracked. The metrics tracked here are sent back to the client to be tracked together with the existing client side metrics.
public ClientProtos.ScanResponse.Builder setScanMetrics(MapReduceProtos.ScanMetrics value)
optional .hbase.pb.ScanMetrics scan_metrics = 10;
This field is filled in if the client has requested that scan metrics be tracked. The metrics tracked here are sent back to the client to be tracked together with the existing client side metrics.
public ClientProtos.ScanResponse.Builder setScanMetrics(MapReduceProtos.ScanMetrics.Builder builderForValue)
optional .hbase.pb.ScanMetrics scan_metrics = 10;
This field is filled in if the client has requested that scan metrics be tracked. The metrics tracked here are sent back to the client to be tracked together with the existing client side metrics.
public ClientProtos.ScanResponse.Builder mergeScanMetrics(MapReduceProtos.ScanMetrics value)
optional .hbase.pb.ScanMetrics scan_metrics = 10;
This field is filled in if the client has requested that scan metrics be tracked. The metrics tracked here are sent back to the client to be tracked together with the existing client side metrics.
public ClientProtos.ScanResponse.Builder clearScanMetrics()
optional .hbase.pb.ScanMetrics scan_metrics = 10;
This field is filled in if the client has requested that scan metrics be tracked. The metrics tracked here are sent back to the client to be tracked together with the existing client side metrics.
public MapReduceProtos.ScanMetrics.Builder getScanMetricsBuilder()
optional .hbase.pb.ScanMetrics scan_metrics = 10;
This field is filled in if the client has requested that scan metrics be tracked. The metrics tracked here are sent back to the client to be tracked together with the existing client side metrics.
public MapReduceProtos.ScanMetricsOrBuilder getScanMetricsOrBuilder()
optional .hbase.pb.ScanMetrics scan_metrics = 10;
This field is filled in if the client has requested that scan metrics be tracked. The metrics tracked here are sent back to the client to be tracked together with the existing client side metrics.
public boolean hasMvccReadPoint()
optional uint64 mvcc_read_point = 11 [default = 0];
The mvcc read point which is used to open the scanner at server side. Client can make use of this mvcc_read_point when restarting a scanner to get a consistent view of a row.
public long getMvccReadPoint()
optional uint64 mvcc_read_point = 11 [default = 0];
The mvcc read point which is used to open the scanner at server side. Client can make use of this mvcc_read_point when restarting a scanner to get a consistent view of a row.
public ClientProtos.ScanResponse.Builder setMvccReadPoint(long value)
optional uint64 mvcc_read_point = 11 [default = 0];
The mvcc read point which is used to open the scanner at server side. Client can make use of this mvcc_read_point when restarting a scanner to get a consistent view of a row.
public ClientProtos.ScanResponse.Builder clearMvccReadPoint()
optional uint64 mvcc_read_point = 11 [default = 0];
The mvcc read point which is used to open the scanner at server side. Client can make use of this mvcc_read_point when restarting a scanner to get a consistent view of a row.
public boolean hasCursor()
optional .hbase.pb.Cursor cursor = 12;
If the Scan need cursor, return the row key we are scanning in heartbeat message. If the Scan doesn't need a cursor, don't set this field to reduce network IO.
hasCursor 在接口中 ClientProtos.ScanResponseOrBuilderpublic ClientProtos.Cursor getCursor()
optional .hbase.pb.Cursor cursor = 12;
If the Scan need cursor, return the row key we are scanning in heartbeat message. If the Scan doesn't need a cursor, don't set this field to reduce network IO.
getCursor 在接口中 ClientProtos.ScanResponseOrBuilderpublic ClientProtos.ScanResponse.Builder setCursor(ClientProtos.Cursor value)
optional .hbase.pb.Cursor cursor = 12;
If the Scan need cursor, return the row key we are scanning in heartbeat message. If the Scan doesn't need a cursor, don't set this field to reduce network IO.
public ClientProtos.ScanResponse.Builder setCursor(ClientProtos.Cursor.Builder builderForValue)
optional .hbase.pb.Cursor cursor = 12;
If the Scan need cursor, return the row key we are scanning in heartbeat message. If the Scan doesn't need a cursor, don't set this field to reduce network IO.
public ClientProtos.ScanResponse.Builder mergeCursor(ClientProtos.Cursor value)
optional .hbase.pb.Cursor cursor = 12;
If the Scan need cursor, return the row key we are scanning in heartbeat message. If the Scan doesn't need a cursor, don't set this field to reduce network IO.
public ClientProtos.ScanResponse.Builder clearCursor()
optional .hbase.pb.Cursor cursor = 12;
If the Scan need cursor, return the row key we are scanning in heartbeat message. If the Scan doesn't need a cursor, don't set this field to reduce network IO.
public ClientProtos.Cursor.Builder getCursorBuilder()
optional .hbase.pb.Cursor cursor = 12;
If the Scan need cursor, return the row key we are scanning in heartbeat message. If the Scan doesn't need a cursor, don't set this field to reduce network IO.
public ClientProtos.CursorOrBuilder getCursorOrBuilder()
optional .hbase.pb.Cursor cursor = 12;
If the Scan need cursor, return the row key we are scanning in heartbeat message. If the Scan doesn't need a cursor, don't set this field to reduce network IO.
Copyright © 2007–2019. All rights reserved.