Google Cloud Spanner C++ Client  2.2.1
A C++ Client Library for Google Cloud Spanner
Classes | Namespaces | Functions
row.h File Reference
#include "google/cloud/spanner/internal/tuple_utils.h"
#include "google/cloud/spanner/value.h"
#include "google/cloud/spanner/version.h"
#include "google/cloud/status.h"
#include "google/cloud/status_or.h"
#include <functional>
#include <iterator>
#include <memory>
#include <string>
#include <tuple>
#include <type_traits>
#include <utility>
#include <vector>

Go to the source code of this file.


class  google::cloud::spanner::Row
 A Row is a sequence of columns each with a name and an associated Value. More...
class  google::cloud::spanner::RowStreamIterator
 A RowStreamIterator is an Input Iterator (see below) that returns a sequence of StatusOr<Row> objects. More...
class  google::cloud::spanner::TupleStreamIterator< Tuple >
 A TupleStreamIterator<Tuple> is an "Input Iterator" that wraps a RowStreamIterator, parsing its elements into a sequence of StatusOr<Tuple> objects. More...
class  google::cloud::spanner::TupleStream< Tuple >
 A TupleStream<Tuple> defines a range that parses Tuple objects from the given range of RowStreamIterators. More...


 The namespace Google Cloud Platform C++ client libraries.
 Contains all the Cloud Spanner C++ client types and functions.


Row google::cloud::spanner::MakeTestRow (std::vector< std::pair< std::string, Value >> pairs)
 Creates a Row with the specified column names and values. More...
template<typename... Ts>
Row google::cloud::spanner::MakeTestRow (Ts &&... ts)
 Creates a Row with Values created from the given arguments and with auto-generated column names. More...
template<typename Tuple , typename RowRange >
TupleStream< Tuple > google::cloud::spanner::StreamOf (RowRange &&range)
 A factory that creates a TupleStream<Tuple> by wrapping the given range. More...
template<typename RowRange >
auto google::cloud::spanner::GetSingularRow (RowRange range) -> typename std::decay< decltype(*range.begin())>::type
 Returns the only row from a range that contains exactly one row. More...