|
iceberg-cpp
|
Wrapper for one row of a struct-typed ArrowArray. More...
#include <arrow_array_wrapper.h>
Public Member Functions | |
| Result< Scalar > | GetField (size_t pos) const override |
| Get the field value at the given position. | |
| size_t | num_fields () const override |
| Get the number of fields in the struct. | |
| Status | Reset (int64_t row_index) |
| Status | Reset (const ArrowArray &array, int64_t row_index=0) |
| ArrowArrayStructLike (const ArrowArrayStructLike &)=delete | |
| ArrowArrayStructLike & | operator= (const ArrowArrayStructLike &)=delete |
Static Public Member Functions | |
| static Result< std::unique_ptr< ArrowArrayStructLike > > | Make (const ArrowSchema &schema, const ArrowArray &array, int64_t row_index=0) |
Wrapper for one row of a struct-typed ArrowArray.
Get the field value at the given position.
| pos | The position of the field in the struct. |
Implements iceberg::StructLike.
|
overridevirtual |
Get the number of fields in the struct.
Implements iceberg::StructLike.