Definition at line 118 of file response.hpp.
Public Member Functions | |
| Cursor (const Cursor &)=delete | |
| Cursor (Cursor &&) noexcept=default | |
| Cursor & | operator= (const Cursor &)=delete |
| Cursor & | operator= (Cursor &&) noexcept=default |
| size_t | ColumnsCount () const |
| size_t | RowsCount () const |
| Row | GetFirstRow () |
| Row | GetSingleRow () && |
| Extract first row. | |
| template<typename Container> | |
| Container | AsContainer () && |
| Extract data into a container. Each row is parsed using Row::As. | |
| template<typename T> | |
| T | AsSingleRow () && |
| Extract first row into user type using Row::As. | |
| template<typename T> | |
| std::optional< T > | AsOptionalSingleRow () && |
| Extract first row into user type using Row::As. | |
| bool | IsTruncated () const |
| bool | empty () const |
| std::size_t | size () const |
| CursorIterator | begin () |
| std::default_sentinel_t | end () |
| Container ydb::Cursor::AsContainer | ( | ) | && |
Extract data into a container. Each row is parsed using Row::As.
Definition at line 273 of file response.hpp.
| std::optional< T > ydb::Cursor::AsOptionalSingleRow | ( | ) | && |
Extract first row into user type using Row::As.
std::optional otherwise Definition at line 295 of file response.hpp.
| T ydb::Cursor::AsSingleRow | ( | ) | && |
Extract first row into user type using Row::As.
| EmptyResponseError | if empty(). |
Definition at line 290 of file response.hpp.
| Row ydb::Cursor::GetFirstRow | ( | ) |
| EmptyResponseError | if GetFirstRow() or begin() called before or cursor is empty |
| Row ydb::Cursor::GetSingleRow | ( | ) | && |
Extract first row.
| EmptyResponseError | if empty(). |
| IgnoreResultsError | if size() > 1. |
| bool ydb::Cursor::IsTruncated | ( | ) | const |
Returns true if response has been truncated to the database limit (currently 1000 rows)
|
friend |
Definition at line 166 of file response.hpp.
|
friend |
Definition at line 165 of file response.hpp.