Definition at line 54 of file response.hpp.
Public Member Functions | |
Row (const Row &)=delete | |
Row (Row &&) noexcept=default | |
Row & | operator= (const Row &)=delete |
Row & | operator= (Row &&)=delete |
template<typename T > | |
T | As () && |
Parses the whole row to T , which must be a struct type. ydb::kStructMemberNames must be specialized for T . | |
template<typename T > | |
T | Get (std::string_view column_name) |
Parses the specified column to T . Get can only be called once for each column. | |
template<typename T > | |
T | Get (std::size_t column_index) |
Parses the specified column to T . Get can only be called once for each column. | |
T ydb::Row::As | ( | ) | && |
Parses the whole row to T
, which must be a struct type. ydb::kStructMemberNames must be specialized for T
.
ydb::ColumnParseError | on parsing error |
ydb::ParseError | on extra fields on C++ side |
ydb::ParseError | on extra fields on YDB side |
Definition at line 243 of file response.hpp.
T ydb::Row::Get | ( | std::size_t | column_index | ) |
Parses the specified column to T
. Get
can only be called once for each column.
ydb::BaseError | on parsing error |
Definition at line 264 of file response.hpp.
T ydb::Row::Get | ( | std::string_view | column_name | ) |
Parses the specified column to T
. Get
can only be called once for each column.
ydb::BaseError | on parsing error |
Definition at line 254 of file response.hpp.