Hyper API for C++
0.0.16638
Hyper client library for C++ applications
|
A result schema. More...
#include <ResultSchema.hpp>
Classes | |
class | Column |
A column of a result. More... | |
Public Member Functions | |
const std::vector< Column > & | getColumns () const noexcept |
Returns all columns. | |
const Column & | getColumn (hyper_field_index_t columnIndex) const |
Returns the column at the given index. More... | |
size_t | getColumnCount () const noexcept |
Returns the number of columns. | |
const Column * | getColumnByName (const Name &name) const |
Gets the column with the given name. More... | |
optional< hyper_field_index_t > | getColumnPositionByName (const Name &name) const |
Gets the position of the column with the given name. More... | |
A result schema.
Definition at line 20 of file ResultSchema.hpp.
const Column& hyperapi::ResultSchema::getColumn | ( | hyper_field_index_t | columnIndex | ) | const |
Returns the column at the given index.
columnIndex | The index of the column. |
Gets the column with the given name.
name | The name of the column |
nullptr
if such a column does not exist. optional<hyper_field_index_t> hyperapi::ResultSchema::getColumnPositionByName | ( | const Name & | name | ) | const |
Gets the position of the column with the given name.
name | The name of the column. |