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."],[[["The page provides documentation for the `ResultSourceInterface` in the Google Cloud Spanner C++ client library, with the latest version being `2.37.0-rc`."],["This interface defines the functionality for `RowStream` implementations, which are used to handle streams of rows returned from Spanner `Read()` and `ExecuteQuery()` operations."],["The `NextRow()` function allows you to retrieve the next row from the stream, or it returns an error if a failure is encountered, or a successful empty `Row` if the stream is finished."],["The `Metadata()` function provides information about the result set, and the `Stats()` function gives access to result set statistics, like row counts and the query plan."],["Multiple previous versions of the `ResultSourceInterface`, dating back to version `2.11.0`, are also available on this page."]]],[]]