Class ResultSourceInterface (2.43.0-rc)

Defines the interface for RowStream implementations.

The RowStream class represents a stream of QueryRows returned from bigtable::Client::ExecuteQuery().

Functions

NextRow()

Returns the next row in the stream.

Returns
Type Description
StatusOr< bigtable::QueryRow >

if the stream is interrupted due to a failure the StatusOr<bigtable::QueryRow> contains the error. The function returns a successful StatusOr<> with a bigtable::QueryRow with an empty row_key() to indicate end-of-stream.

Metadata()

Returns metadata about the result set.

Returns
Type Description
absl::optional< google::bigtable::v2::ResultSetMetadata >