Hyper API for C++ 0.0.20746
Hyper client library for C++ applications
|
#include <Result.hpp>
Public Member Functions | |
template<typename ReturnType = Value> | |
ReturnType | get (hyper_field_index_t columnIndex) const |
Returns the value of field at position columnIndex . | |
const ResultSchema & | getSchema () const noexcept |
Returns the schema of the row. | |
A Row inside a chunk.
The row is only valid for as long as the chunk lives.
Definition at line 210 of file Result.hpp.
ReturnType hyperapi::Row::get | ( | hyper_field_index_t | columnIndex | ) | const |
Returns the value of field at position columnIndex
.
Example: int a = row.get();
Example: auto a = row.get<int>();
columnIndex | The index of the field inside the row (starting at 0). |
Value
. The returned value implicitly casts to all types.
|
noexcept |
Returns the schema of the row.