if the stream is interrupted due to a failure the StatusOr<spanner::Row> contains the error. The function returns a successful StatusOr<> with an empty spanner::Row to indicate end-of-stream.
Metadata()
Returns metadata about the result set, such as the field types and the transaction id created by the request.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-14 UTC."],[[["This webpage provides documentation for the `ResultSourceInterface` in the Google Cloud Spanner C++ library, with version 2.37.0-rc being the latest and 2.28.0 the default displayed."],["The `ResultSourceInterface` defines how `RowStream` implementations work, which represent streams of `Rows` from `spanner::Client::Read()` or `spanner::Client::ExecuteQuery()`."],["`NextRow()` function is used to get the next row in the stream, returning either a row or an error `StatusOr`, with an empty row indicating the stream's end."],["`Metadata()` returns the result set's metadata, such as field types and transaction ID, and `Stats()` provides statistics, like the number of rows and query plan."],["The page includes an extensive list of links to the documentation for `ResultSourceInterface` across different versions, including versions 2.11.0 through 2.37.0-rc."]]],[]]