Google Bigtable v2 API - Class ReadRowsResponse (3.5.0)

public sealed class ReadRowsResponse : IMessage<ReadRowsResponse>, IEquatable<ReadRowsResponse>, IDeepCloneable<ReadRowsResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Bigtable v2 API class ReadRowsResponse.

Response message for Bigtable.ReadRows.

Inheritance

object > ReadRowsResponse

Namespace

Google.Cloud.Bigtable.V2

Assembly

Google.Cloud.Bigtable.V2.dll

Constructors

ReadRowsResponse()

public ReadRowsResponse()

ReadRowsResponse(ReadRowsResponse)

public ReadRowsResponse(ReadRowsResponse other)
Parameter
NameDescription
otherReadRowsResponse

Properties

Chunks

public RepeatedField<ReadRowsResponse.Types.CellChunk> Chunks { get; }

A collection of a row's contents as part of the read request.

Property Value
TypeDescription
RepeatedFieldReadRowsResponseTypesCellChunk

LastScannedRowKey

public ByteString LastScannedRowKey { get; set; }

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.

Property Value
TypeDescription
ByteString

RequestStats

public RequestStats RequestStats { get; set; }

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

Property Value
TypeDescription
RequestStats