|
iceberg-cpp
|
An immutable struct-like wrapper. More...
#include <struct_like.h>
Public Member Functions | |
| virtual Result< Scalar > | GetField (size_t pos) const =0 |
| Get the field value at the given position. | |
| virtual size_t | num_fields () const =0 |
| Get the number of fields in the struct. | |
An immutable struct-like wrapper.
|
pure virtual |
Get the field value at the given position.
| pos | The position of the field in the struct. |
Implemented in iceberg::ArrowArrayStructLike, iceberg::PartitionFieldSummaryStructLike, iceberg::ManifestFileStructLike, iceberg::PartitionValues, iceberg::SimpleStructLike, and iceberg::FailingStructLike.
|
pure virtual |
Get the number of fields in the struct.
Implemented in iceberg::ArrowArrayStructLike, iceberg::PartitionFieldSummaryStructLike, iceberg::ManifestFileStructLike, iceberg::PartitionValues, iceberg::SimpleStructLike, and iceberg::FailingStructLike.