userver: ydb::Cursor Class Reference
Loading...
Searching...
No Matches
ydb::Cursor Class Referencefinal

Detailed Description

Definition at line 131 of file response.hpp.

Public Member Functions

 Cursor (const Cursor &)=delete
 
 Cursor (Cursor &&) noexcept=default
 
Cursoroperator= (const Cursor &)=delete
 
Cursoroperator= (Cursor &&) noexcept=default
 
size_t ColumnsCount () const
 
size_t RowsCount () const
 
Row GetFirstRow ()
 
bool IsTruncated () const
 
bool empty () const
 
std::size_t size () const
 
CursorIterator begin ()
 
CursorIterator end ()
 

Member Function Documentation

◆ GetFirstRow()

Row ydb::Cursor::GetFirstRow ( )
Exceptions
EmptyResponseErrorif GetFirstRow() or begin() called before or cursor is empty

◆ IsTruncated()

bool ydb::Cursor::IsTruncated ( ) const

Returns true if response has been truncated to the database limit (currently 1000 rows)

Friends And Related Symbol Documentation

◆ CursorIterator

friend class CursorIterator
friend

Definition at line 165 of file response.hpp.

◆ Row

friend class Row
friend

Definition at line 164 of file response.hpp.


The documentation for this class was generated from the following file: