|
iceberg-cpp
|
An immutable array-like wrapper. More...
#include <struct_like.h>
Public Member Functions | |
| virtual Result< Scalar > | GetElement (size_t pos) const =0 |
| Get the array element at the given position. | |
| virtual size_t | size () const =0 |
| Get the number of elements in the array. | |
An immutable array-like wrapper.
|
pure virtual |
Get the array element at the given position.
| pos | The position of the element in the array. |
Implemented in iceberg::ArrowArrayArrayLike, iceberg::PartitionFieldSummaryArrayLike, and iceberg::SimpleArrayLike.
|
pure virtual |
Get the number of elements in the array.
Implemented in iceberg::ArrowArrayArrayLike, iceberg::PartitionFieldSummaryArrayLike, and iceberg::SimpleArrayLike.