StructLike wrapper for a vector of literals that represent partition values.
More...
#include <partition_values.h>
StructLike wrapper for a vector of literals that represent partition values.
◆ AddValue()
| void iceberg::PartitionValues::AddValue |
( |
Literal |
value | ) |
|
|
inline |
Add a value to the partition values.
- Parameters
-
◆ GetField()
| Result< Scalar > iceberg::PartitionValues::GetField |
( |
size_t |
pos | ) |
const |
|
overridevirtual |
Get the field value at the given position.
- Parameters
-
| pos | The position of the field in the struct. |
Implements iceberg::StructLike.
◆ num_fields()
| size_t iceberg::PartitionValues::num_fields |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ Reset()
| void iceberg::PartitionValues::Reset |
( |
std::vector< Literal > |
values | ) |
|
|
inline |
Reset the partition values.
- Parameters
-
| values | The values to reset to. |
◆ ValueAt()
| Result< std::reference_wrapper< const Literal > > iceberg::PartitionValues::ValueAt |
( |
size_t |
pos | ) |
const |
Get the partition field value at the given position.
- Parameters
-
| pos | The position of the field in the struct. |
- Returns
- A reference to the partition field value.
The documentation for this class was generated from the following files: