|
iceberg-cpp
|
Wrapper for one row of a map-typed ArrowArray. More...
#include <arrow_array_wrapper.h>
Public Member Functions | |
| Result< Scalar > | GetKey (size_t pos) const override |
| Get the key at the given position. | |
| Result< Scalar > | GetValue (size_t pos) const override |
| Get the value at the given position. | |
| size_t | size () const override |
| Get the number of entries in the map. | |
| Status | Reset (int64_t row_index) |
| Status | Reset (const ArrowArray &array, int64_t row_index=0) |
| ArrowArrayMapLike (const ArrowArrayMapLike &other)=delete | |
| ArrowArrayMapLike & | operator= (const ArrowArrayMapLike &other)=delete |
Static Public Member Functions | |
| static Result< std::unique_ptr< ArrowArrayMapLike > > | Make (const ArrowSchema &schema, const ArrowArray &array, int64_t row_index=0) |
Wrapper for one row of a map-typed ArrowArray.
Get the key at the given position.
| pos | The position of the key in the map. |
Implements iceberg::MapLike.
Get the value at the given position.
| pos | The position of the value in the map. |
Implements iceberg::MapLike.
|
overridevirtual |
Get the number of entries in the map.
Implements iceberg::MapLike.