Set of tuples (database results, transaction input, etc.)
More...
#include <valueTupleSet.hpp>
Set of tuples (database results, transaction input, etc.)
_Wolframe::db::vm::ValueTupleSet::ValueTupleSet |
( |
| ) |
|
|
inline |
_Wolframe::db::vm::ValueTupleSet::ValueTupleSet |
( |
const std::vector< std::string > & |
colnames_ | ) |
|
|
inlineexplicit |
_Wolframe::db::vm::ValueTupleSet::ValueTupleSet |
( |
const ValueTupleSet & |
o | ) |
|
|
inline |
void _Wolframe::db::vm::ValueTupleSet::append |
( |
const ValueTupleSet & |
ts | ) |
|
|
inline |
Append a tuple set (checking number of columns to be equal in both sets)
Get the start tuple set iterator.
void _Wolframe::db::vm::ValueTupleSet::checkConstraintNonEmpty |
( |
| ) |
const |
|
inline |
Check the NONEMPTY constaint on this tuple set.
void _Wolframe::db::vm::ValueTupleSet::checkConstraintUnique |
( |
| ) |
const |
|
inline |
Check the UNIQUE constaint on this tuple set.
std::size_t _Wolframe::db::vm::ValueTupleSet::columnIndex |
( |
const std::string & |
name | ) |
const |
|
inline |
Get the index of a column by name numbered starting with 1.
const std::string& _Wolframe::db::vm::ValueTupleSet::columnName |
( |
std::size_t |
i | ) |
const |
|
inline |
Get the name of a column numbered starting with 1.
bool _Wolframe::db::vm::ValueTupleSet::empty |
( |
| ) |
const |
|
inline |
Evaluate if the tuple set is empty.
- Returns
- true, if yes
Get the end tuple set iterator.
std::size_t _Wolframe::db::vm::ValueTupleSet::nofColumns |
( |
| ) |
const |
|
inline |
Get the number of columns.
Add one tuple to the set (checking its size)
void _Wolframe::db::vm::ValueTupleSet::push |
( |
const std::vector< types::Variant > & |
c | ) |
|
|
inline |
Add one tuple to the set (checking its size)
std::size_t _Wolframe::db::vm::ValueTupleSet::size |
( |
| ) |
const |
|
inline |
Get the number of tuples in the tuple set.
- Returns
- the number of tuples
std::vector<std::string> _Wolframe::db::vm::ValueTupleSet::m_colnames |
|
private |
The documentation for this class was generated from the following file: