public static final class ClientPB.ScanResponse.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<ClientPB.ScanResponse,ClientPB.ScanResponse.Builder> implements ClientPB.ScanResponseOrBuilder
The scan response. If there are no more results, more_results will be false. If it is not specified, it means there are more.Protobuf type
ScanResponse
Modifier and Type | Method and Description |
---|---|
ClientPB.ScanResponse.Builder |
addAllCellsPerResult(Iterable<? extends Integer> values)
This field is filled in if we are doing cellblocks.
|
ClientPB.ScanResponse.Builder |
addAllResults(Iterable<? extends ClientPB.Result> values)
If cells are not carried in an accompanying cellblock, then they are pb'd here.
|
ClientPB.ScanResponse.Builder |
addCellsPerResult(int value)
This field is filled in if we are doing cellblocks.
|
ClientPB.ScanResponse.Builder |
addResults(ClientPB.Result.Builder builderForValue)
If cells are not carried in an accompanying cellblock, then they are pb'd here.
|
ClientPB.ScanResponse.Builder |
addResults(ClientPB.Result value)
If cells are not carried in an accompanying cellblock, then they are pb'd here.
|
ClientPB.ScanResponse.Builder |
addResults(int index,
ClientPB.Result.Builder builderForValue)
If cells are not carried in an accompanying cellblock, then they are pb'd here.
|
ClientPB.ScanResponse.Builder |
addResults(int index,
ClientPB.Result value)
If cells are not carried in an accompanying cellblock, then they are pb'd here.
|
ClientPB.ScanResponse.Builder |
clearCellsPerResult()
This field is filled in if we are doing cellblocks.
|
ClientPB.ScanResponse.Builder |
clearMoreResults()
optional bool more_results = 3; |
ClientPB.ScanResponse.Builder |
clearResults()
If cells are not carried in an accompanying cellblock, then they are pb'd here.
|
ClientPB.ScanResponse.Builder |
clearScannerId()
optional uint64 scanner_id = 2; |
ClientPB.ScanResponse.Builder |
clearTtl()
optional uint32 ttl = 4; |
int |
getCellsPerResult(int index)
This field is filled in if we are doing cellblocks.
|
int |
getCellsPerResultCount()
This field is filled in if we are doing cellblocks.
|
List<Integer> |
getCellsPerResultList()
This field is filled in if we are doing cellblocks.
|
boolean |
getMoreResults()
optional bool more_results = 3; |
ClientPB.Result |
getResults(int index)
If cells are not carried in an accompanying cellblock, then they are pb'd here.
|
int |
getResultsCount()
If cells are not carried in an accompanying cellblock, then they are pb'd here.
|
List<ClientPB.Result> |
getResultsList()
If cells are not carried in an accompanying cellblock, then they are pb'd here.
|
long |
getScannerId()
optional uint64 scanner_id = 2; |
int |
getTtl()
optional uint32 ttl = 4; |
boolean |
hasMoreResults()
optional bool more_results = 3; |
boolean |
hasScannerId()
optional uint64 scanner_id = 2; |
boolean |
hasTtl()
optional uint32 ttl = 4; |
ClientPB.ScanResponse.Builder |
removeResults(int index)
If cells are not carried in an accompanying cellblock, then they are pb'd here.
|
ClientPB.ScanResponse.Builder |
setCellsPerResult(int index,
int value)
This field is filled in if we are doing cellblocks.
|
ClientPB.ScanResponse.Builder |
setMoreResults(boolean value)
optional bool more_results = 3; |
ClientPB.ScanResponse.Builder |
setResults(int index,
ClientPB.Result.Builder builderForValue)
If cells are not carried in an accompanying cellblock, then they are pb'd here.
|
ClientPB.ScanResponse.Builder |
setResults(int index,
ClientPB.Result value)
If cells are not carried in an accompanying cellblock, then they are pb'd here.
|
ClientPB.ScanResponse.Builder |
setScannerId(long value)
optional uint64 scanner_id = 2; |
ClientPB.ScanResponse.Builder |
setTtl(int value)
optional uint32 ttl = 4; |
build, buildPartial, clear, clone, copyOnWrite, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom
addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
public List<Integer> getCellsPerResultList()
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.
repeated uint32 cells_per_result = 1;
getCellsPerResultList
in interface ClientPB.ScanResponseOrBuilder
public int getCellsPerResultCount()
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.
repeated uint32 cells_per_result = 1;
getCellsPerResultCount
in interface ClientPB.ScanResponseOrBuilder
public int getCellsPerResult(int index)
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.
repeated uint32 cells_per_result = 1;
getCellsPerResult
in interface ClientPB.ScanResponseOrBuilder
public ClientPB.ScanResponse.Builder setCellsPerResult(int index, int value)
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.
repeated uint32 cells_per_result = 1;
public ClientPB.ScanResponse.Builder addCellsPerResult(int value)
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.
repeated uint32 cells_per_result = 1;
public ClientPB.ScanResponse.Builder addAllCellsPerResult(Iterable<? extends Integer> values)
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.
repeated uint32 cells_per_result = 1;
public ClientPB.ScanResponse.Builder clearCellsPerResult()
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.
repeated uint32 cells_per_result = 1;
public boolean hasScannerId()
optional uint64 scanner_id = 2;
hasScannerId
in interface ClientPB.ScanResponseOrBuilder
public long getScannerId()
optional uint64 scanner_id = 2;
getScannerId
in interface ClientPB.ScanResponseOrBuilder
public ClientPB.ScanResponse.Builder setScannerId(long value)
optional uint64 scanner_id = 2;
public ClientPB.ScanResponse.Builder clearScannerId()
optional uint64 scanner_id = 2;
public boolean hasMoreResults()
optional bool more_results = 3;
hasMoreResults
in interface ClientPB.ScanResponseOrBuilder
public boolean getMoreResults()
optional bool more_results = 3;
getMoreResults
in interface ClientPB.ScanResponseOrBuilder
public ClientPB.ScanResponse.Builder setMoreResults(boolean value)
optional bool more_results = 3;
public ClientPB.ScanResponse.Builder clearMoreResults()
optional bool more_results = 3;
public boolean hasTtl()
optional uint32 ttl = 4;
hasTtl
in interface ClientPB.ScanResponseOrBuilder
public int getTtl()
optional uint32 ttl = 4;
getTtl
in interface ClientPB.ScanResponseOrBuilder
public ClientPB.ScanResponse.Builder setTtl(int value)
optional uint32 ttl = 4;
public ClientPB.ScanResponse.Builder clearTtl()
optional uint32 ttl = 4;
public List<ClientPB.Result> getResultsList()
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)
repeated .Result results = 5;
getResultsList
in interface ClientPB.ScanResponseOrBuilder
public int getResultsCount()
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)
repeated .Result results = 5;
getResultsCount
in interface ClientPB.ScanResponseOrBuilder
public ClientPB.Result getResults(int index)
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)
repeated .Result results = 5;
getResults
in interface ClientPB.ScanResponseOrBuilder
public ClientPB.ScanResponse.Builder setResults(int index, ClientPB.Result value)
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)
repeated .Result results = 5;
public ClientPB.ScanResponse.Builder setResults(int index, ClientPB.Result.Builder builderForValue)
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)
repeated .Result results = 5;
public ClientPB.ScanResponse.Builder addResults(ClientPB.Result value)
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)
repeated .Result results = 5;
public ClientPB.ScanResponse.Builder addResults(int index, ClientPB.Result value)
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)
repeated .Result results = 5;
public ClientPB.ScanResponse.Builder addResults(ClientPB.Result.Builder builderForValue)
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)
repeated .Result results = 5;
public ClientPB.ScanResponse.Builder addResults(int index, ClientPB.Result.Builder builderForValue)
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)
repeated .Result results = 5;
public ClientPB.ScanResponse.Builder addAllResults(Iterable<? extends ClientPB.Result> values)
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)
repeated .Result results = 5;
public ClientPB.ScanResponse.Builder clearResults()
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)
repeated .Result results = 5;
public ClientPB.ScanResponse.Builder removeResults(int index)
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)
repeated .Result results = 5;
Copyright © 2010–2017 The Async HBase Authors. All rights reserved.