iceberg-cpp
Loading...
Searching...
No Matches
Classes | Public Member Functions | Static Public Member Functions | List of all members
iceberg::ArrowArrayMapLike Class Reference

Wrapper for one row of a map-typed ArrowArray. More...

#include <arrow_array_wrapper.h>

Inheritance diagram for iceberg::ArrowArrayMapLike:
iceberg::MapLike

Classes

class  Impl
 

Public Member Functions

Result< ScalarGetKey (size_t pos) const override
 Get the key at the given position.
 
Result< ScalarGetValue (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
 
ArrowArrayMapLikeoperator= (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)
 

Detailed Description

Wrapper for one row of a map-typed ArrowArray.

Member Function Documentation

◆ GetKey()

Result< Scalar > iceberg::ArrowArrayMapLike::GetKey ( size_t  pos) const
overridevirtual

Get the key at the given position.

Parameters
posThe position of the key in the map.

Implements iceberg::MapLike.

◆ GetValue()

Result< Scalar > iceberg::ArrowArrayMapLike::GetValue ( size_t  pos) const
overridevirtual

Get the value at the given position.

Parameters
posThe position of the value in the map.

Implements iceberg::MapLike.

◆ size()

size_t iceberg::ArrowArrayMapLike::size ( ) const
overridevirtual

Get the number of entries in the map.

Implements iceberg::MapLike.


The documentation for this class was generated from the following files: