#include <ignite_tuple.h>
|
| | ignite_tuple (size_t capacity) |
| | ignite_tuple (std::initializer_list< std::pair< std::string, primitive > > pairs) |
| std::int32_t | column_count () const noexcept |
| const primitive & | get (uint32_t idx) const |
| template<typename T> |
| T | get (uint32_t idx) const |
| template<typename T> |
| void | set (uint32_t idx, T &&value) |
| const primitive & | get (std::string_view name) const |
| template<typename T> |
| T | get (std::string_view name) const |
| template<typename T> |
| void | set (std::string_view name, T &&value) |
| const std::string & | column_name (uint32_t idx) const |
| std::int32_t | column_ordinal (std::string_view name) const |
◆ ignite_tuple() [1/2]
| ignite::ignite_tuple::ignite_tuple |
( |
size_t | capacity | ) |
|
|
inlineexplicit |
◆ ignite_tuple() [2/2]
| ignite::ignite_tuple::ignite_tuple |
( |
std::initializer_list< std::pair< std::string, primitive > > | pairs | ) |
|
|
inline |
◆ column_count()
| std::int32_t ignite::ignite_tuple::column_count |
( |
| ) |
const |
|
inlinenodiscardnoexcept |
Gets a number of columns in the tuple.
- Returns
- Number of columns in the tuple.
◆ column_name()
| const std::string & ignite::ignite_tuple::column_name |
( |
uint32_t | idx | ) |
const |
|
inlinenodiscard |
Gets the name of the column, given the zero-based column ordinal.
- Parameters
-
- Returns
- Column name.
◆ column_ordinal()
| std::int32_t ignite::ignite_tuple::column_ordinal |
( |
std::string_view | name | ) |
const |
|
inlinenodiscard |
Gets the column ordinal given the name of the column, or -1 when the column with the given name does not exist.
- Parameters
-
- Returns
- Column index.
◆ get() [1/4]
| const primitive & ignite::ignite_tuple::get |
( |
std::string_view | name | ) |
const |
|
inlinenodiscard |
Gets the value of the specified column.
- Parameters
-
- Returns
- Column value.
◆ get() [2/4]
template<typename T>
| T ignite::ignite_tuple::get |
( |
std::string_view | name | ) |
const |
|
inlinenodiscard |
Gets the value of the specified column.
- Template Parameters
-
- Parameters
-
- Returns
- Column value.
◆ get() [3/4]
| const primitive & ignite::ignite_tuple::get |
( |
uint32_t | idx | ) |
const |
|
inlinenodiscard |
Gets the value of the specified column.
- Parameters
-
- Returns
- Column value.
◆ get() [4/4]
template<typename T>
| T ignite::ignite_tuple::get |
( |
uint32_t | idx | ) |
const |
|
inlinenodiscard |
Gets the value of the specified column.
- Template Parameters
-
- Parameters
-
- Returns
- Column value.
◆ set() [1/2]
template<typename T>
| void ignite::ignite_tuple::set |
( |
std::string_view | name, |
|
|
T && | value ) |
|
inline |
Sets the value of the specified column.
- Template Parameters
-
- Parameters
-
| name | The column name. |
| value | Value. |
◆ set() [2/2]
template<typename T>
| void ignite::ignite_tuple::set |
( |
uint32_t | idx, |
|
|
T && | value ) |
|
inline |
Sets the value of the specified column.
- Template Parameters
-
- Parameters
-
| idx | The column index. |
| value | Value. |
The documentation for this class was generated from the following file: