Package com.google.bigtable.v2
Interface ReadRowsResponseOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReadRowsResponse,ReadRowsResponse.Builder
public interface ReadRowsResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReadRowsResponse.CellChunkgetChunks(int index)A collection of a row's contents as part of the read request.intgetChunksCount()A collection of a row's contents as part of the read request.List<ReadRowsResponse.CellChunk>getChunksList()A collection of a row's contents as part of the read request.ReadRowsResponse.CellChunkOrBuildergetChunksOrBuilder(int index)A collection of a row's contents as part of the read request.List<? extends ReadRowsResponse.CellChunkOrBuilder>getChunksOrBuilderList()A collection of a row's contents as part of the read request.com.google.protobuf.ByteStringgetLastScannedRowKey()Optionally the server might return the row key of the last row it has scanned.RequestStatsgetRequestStats()If requested, provide enhanced query performance statistics.RequestStatsOrBuildergetRequestStatsOrBuilder()If requested, provide enhanced query performance statistics.booleanhasRequestStats()If requested, provide enhanced query performance statistics.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getChunksList
List<ReadRowsResponse.CellChunk> getChunksList()
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
-
getChunks
ReadRowsResponse.CellChunk getChunks(int index)
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
-
getChunksCount
int getChunksCount()
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
-
getChunksOrBuilderList
List<? extends ReadRowsResponse.CellChunkOrBuilder> getChunksOrBuilderList()
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
-
getChunksOrBuilder
ReadRowsResponse.CellChunkOrBuilder getChunksOrBuilder(int index)
A collection of a row's contents as part of the read request.
repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
-
getLastScannedRowKey
com.google.protobuf.ByteString 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.
bytes last_scanned_row_key = 2;- Returns:
- The lastScannedRowKey.
-
hasRequestStats
boolean hasRequestStats()
If requested, provide enhanced query performance statistics. The semantics dictate: * request_stats is empty on every (streamed) response, except * request_stats has non-empty information after all chunks have been streamed, where the ReadRowsResponse message only contains request_stats. * For example, if a read request would have returned an empty response instead a single ReadRowsResponse is streamed with empty chunks and request_stats filled. Visually, response messages will stream as follows: ... -> {chunks: [...]} -> {chunks: [], request_stats: {...}} \______________________/ \________________________________/ Primary response Trailer of RequestStats info Or if the read did not return any values: {chunks: [], request_stats: {...}} \________________________________/ Trailer of RequestStats info.google.bigtable.v2.RequestStats request_stats = 3;- Returns:
- Whether the requestStats field is set.
-
getRequestStats
RequestStats getRequestStats()
If requested, provide enhanced query performance statistics. The semantics dictate: * request_stats is empty on every (streamed) response, except * request_stats has non-empty information after all chunks have been streamed, where the ReadRowsResponse message only contains request_stats. * For example, if a read request would have returned an empty response instead a single ReadRowsResponse is streamed with empty chunks and request_stats filled. Visually, response messages will stream as follows: ... -> {chunks: [...]} -> {chunks: [], request_stats: {...}} \______________________/ \________________________________/ Primary response Trailer of RequestStats info Or if the read did not return any values: {chunks: [], request_stats: {...}} \________________________________/ Trailer of RequestStats info.google.bigtable.v2.RequestStats request_stats = 3;- Returns:
- The requestStats.
-
getRequestStatsOrBuilder
RequestStatsOrBuilder getRequestStatsOrBuilder()
If requested, provide enhanced query performance statistics. The semantics dictate: * request_stats is empty on every (streamed) response, except * request_stats has non-empty information after all chunks have been streamed, where the ReadRowsResponse message only contains request_stats. * For example, if a read request would have returned an empty response instead a single ReadRowsResponse is streamed with empty chunks and request_stats filled. Visually, response messages will stream as follows: ... -> {chunks: [...]} -> {chunks: [], request_stats: {...}} \______________________/ \________________________________/ Primary response Trailer of RequestStats info Or if the read did not return any values: {chunks: [], request_stats: {...}} \________________________________/ Trailer of RequestStats info.google.bigtable.v2.RequestStats request_stats = 3;
-
-