Reference documentation and code samples for the Cloud Bigtable V2 Client class ReadRowsResponse.
Response message for Bigtable.ReadRows.
Generated from protobuf message google.bigtable.v2.ReadRowsResponse
Namespace
Google \ Cloud \ Bigtable \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ chunks |
array<ReadRowsResponse\CellChunk>
A collection of a row's contents as part of the read request. |
↳ last_scanned_row_key |
string
Optionally the server might return the row key of the last row it has scanned. The client can use this to construct a more efficient retry request if needed: any row keys or portions of ranges less than this row key can be dropped from the request. This is primarily useful for cases where the server has read a lot of data that was filtered out since the last committed row key, allowing the client to skip that work on a retry. |
↳ request_stats |
RequestStats
If requested, return enhanced query performance statistics. The field request_stats is empty in a streamed response unless the ReadRowsResponse message contains request_stats in the last message of the stream. Always returned when requested, even when the read request returns an empty response. |
getChunks
A collection of a row's contents as part of the read request.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setChunks
A collection of a row's contents as part of the read request.
| Parameter | |
|---|---|
| Name | Description |
var |
array<ReadRowsResponse\CellChunk>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLastScannedRowKey
Optionally the server might return the row key of the last row it has scanned. The client can use this to construct a more efficient retry request if needed: any row keys or portions of ranges less than this row key can be dropped from the request.
This is primarily useful for cases where the server has read a lot of data that was filtered out since the last committed row key, allowing the client to skip that work on a retry.
| Returns | |
|---|---|
| Type | Description |
string |
|
setLastScannedRowKey
Optionally the server might return the row key of the last row it has scanned. The client can use this to construct a more efficient retry request if needed: any row keys or portions of ranges less than this row key can be dropped from the request.
This is primarily useful for cases where the server has read a lot of data that was filtered out since the last committed row key, allowing the client to skip that work on a retry.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRequestStats
If requested, return enhanced query performance statistics. The field request_stats is empty in a streamed response unless the ReadRowsResponse message contains request_stats in the last message of the stream. Always returned when requested, even when the read request returns an empty response.
| Returns | |
|---|---|
| Type | Description |
RequestStats|null |
|
hasRequestStats
clearRequestStats
setRequestStats
If requested, return enhanced query performance statistics. The field request_stats is empty in a streamed response unless the ReadRowsResponse message contains request_stats in the last message of the stream. Always returned when requested, even when the read request returns an empty response.
| Parameter | |
|---|---|
| Name | Description |
var |
RequestStats
|
| Returns | |
|---|---|
| Type | Description |
$this |
|