|
Lbug C++ API
|
Stores a vector of Values. More...
#include <flat_tuple.h>
Public Member Functions | |
| FlatTuple (const std::vector< common::LogicalType > &types) | |
| DELETE_COPY_AND_MOVE (FlatTuple) | |
| LBUG_API common::idx_t | len () const |
| LBUG_API common::Value * | getValue (common::idx_t idx) |
| Get a pointer to the value at the specified index. | |
| LBUG_API common::Value & | operator[] (common::idx_t idx) |
| Access the value at the specified index by reference. | |
| LBUG_API const common::Value & | operator[] (common::idx_t idx) const |
| Access the value at the specified index by const reference. | |
| LBUG_API std::string | toString () const |
| Convert the FlatTuple to a string representation. | |
| LBUG_API std::string | toString (const std::vector< uint32_t > &colsWidth, const std::string &delimiter="|", uint32_t maxWidth=-1) |
Stores a vector of Values.
|
explicit |
| lbug::processor::FlatTuple::DELETE_COPY_AND_MOVE | ( | FlatTuple | ) |
| LBUG_API common::Value * lbug::processor::FlatTuple::getValue | ( | common::idx_t | idx | ) |
Get a pointer to the value at the specified index.
| idx | The index of the value to retrieve. |
| LBUG_API common::idx_t lbug::processor::FlatTuple::len | ( | ) | const |
| LBUG_API common::Value & lbug::processor::FlatTuple::operator[] | ( | common::idx_t | idx | ) |
Access the value at the specified index by reference.
| idx | The index of the value to access. |
| LBUG_API const common::Value & lbug::processor::FlatTuple::operator[] | ( | common::idx_t | idx | ) | const |
Access the value at the specified index by const reference.
| idx | The index of the value to access. |
| LBUG_API std::string lbug::processor::FlatTuple::toString | ( | ) | const |
| LBUG_API std::string lbug::processor::FlatTuple::toString | ( | const std::vector< uint32_t > & | colsWidth, |
| const std::string & | delimiter = "|", | ||
| uint32_t | maxWidth = -1 ) |
| colsWidth | The length of each column |
| delimiter | The delimiter to separate each value. |
| maxWidth | The maximum length of each column. Only the first maxWidth number of characters of each column will be displayed. |