|
Google Cloud Spanner C++ Client
0.10.0
A C++ Client Library for Google Cloud Spanner
|
A RowStreamIterator is an Input Iterator (see below) that returns a sequence of StatusOr<Row> objects.
More...
#include <google/cloud/spanner/row.h>
Public Types | |
| using | Source = std::function< StatusOr< Row >()> |
A function that returns a sequence of StatusOr<Row> objects. More... | |
Iterator type aliases | |
| using | iterator_category = std::input_iterator_tag |
| using | value_type = StatusOr< Row > |
| using | difference_type = std::ptrdiff_t |
| using | pointer = value_type * |
| using | reference = value_type & |
| using | const_pointer = value_type const * |
| using | const_reference = value_type const & |
Public Member Functions | |
| RowStreamIterator () | |
| Default constructs an "end" iterator. More... | |
| RowStreamIterator (Source source) | |
Constructs a RowStreamIterator that will consume rows from the given source, which must not be nullptr. More... | |
| reference | operator* () |
| pointer | operator-> () |
| const_reference | operator* () const |
| const_pointer | operator-> () const |
| RowStreamIterator & | operator++ () |
| RowStreamIterator | operator++ (int) |
Friends | |
| bool | operator== (RowStreamIterator const &, RowStreamIterator const &) |
| bool | operator!= (RowStreamIterator const &, RowStreamIterator const &) |
A RowStreamIterator is an Input Iterator (see below) that returns a sequence of StatusOr<Row> objects.
As an Input Iterator, the sequence may only be consumed once. Default constructing a RowStreamIterator creates an instance that represents "end".
| using google::cloud::spanner::v0::RowStreamIterator::difference_type = std::ptrdiff_t |
| using google::cloud::spanner::v0::RowStreamIterator::iterator_category = std::input_iterator_tag |
| using google::cloud::spanner::v0::RowStreamIterator::Source = std::function<StatusOr<Row>()> |
| using google::cloud::spanner::v0::RowStreamIterator::value_type = StatusOr<Row> |
|
default |
Default constructs an "end" iterator.
|
explicit |
Constructs a RowStreamIterator that will consume rows from the given source, which must not be nullptr.
|
inline |
|
inline |
| RowStreamIterator & google::cloud::spanner::v0::RowStreamIterator::operator++ | ( | ) |
| RowStreamIterator google::cloud::spanner::v0::RowStreamIterator::operator++ | ( | int | ) |
|
inline |
|
inline |
|
friend |
|
friend |
1.8.15