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 page provides documentation for the `ResultSourceInterface` in the Google Cloud Spanner C++ client library, with the latest release candidate version being 2.37.0-rc."],["The documentation outlines different versions of the `ResultSourceInterface`, ranging from version 2.11.0 to 2.37.0-rc, allowing access to specific release details."],["`ResultSourceInterface` defines the interface for `RowStream` implementations, which are streams of `Rows` returned from `spanner::Client::Read()` or `spanner::Client::ExecuteQuery()`."],["The `NextRow()` function is used to retrieve the next row in the stream and can return a `StatusOr` containing an error if the stream fails or a successful `StatusOr` with an empty `spanner::Row` to signal the stream's end."],["The page provides details on the functions `Metadata()` and `Stats()` which allows users to find metadata and statistics regarding the result set and are hyperlinked to external documentation for further explanation."]]],[]]