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-05-07 UTC."],[[["This document details the `ResultSourceInterface` for Google Cloud Spanner's C++ client library, focusing on version 2.35.0-rc and including links to previous versions."],["`ResultSourceInterface` defines the interface for `RowStream` implementations, which provide a stream of `Rows` resulting from Spanner `Read()` or `ExecuteQuery()` calls."],["The `NextRow()` function retrieves the next row from the stream and returns a `StatusOr\u003cspanner::Row\u003e`, indicating either a successful row retrieval or an error, or an empty row to signal the end of the stream."],["The `Metadata()` function provides details about the result set, including field types and transaction IDs, as described in the linked Spanner RPC documentation."],["The `Stats()` function returns statistics about the result set, such as the number of rows and the query plan used, also with reference to the relevant Spanner RPC documentation."]]],[]]