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

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

#include <arrow_array_wrapper.h>

Inheritance diagram for iceberg::ArrowArrayArrayLike:
iceberg::ArrayLike

Classes

class  Impl
 

Public Member Functions

Result< ScalarGetElement (size_t pos) const override
 Get the array element at the given position.
 
size_t size () const override
 Get the number of elements in the array.
 
Status Reset (int64_t row_index)
 
Status Reset (const ArrowArray &array, int64_t row_index=0)
 
 ArrowArrayArrayLike (const ArrowArrayArrayLike &other)=delete
 
ArrowArrayArrayLikeoperator= (const ArrowArrayArrayLike &other)=delete
 

Static Public Member Functions

static Result< std::unique_ptr< ArrowArrayArrayLike > > Make (const ArrowSchema &schema, const ArrowArray &array, int64_t row_index=0)
 

Detailed Description

Wrapper for one row of a list-typed ArrowArray.

Member Function Documentation

◆ GetElement()

Result< Scalar > iceberg::ArrowArrayArrayLike::GetElement ( size_t  pos) const
overridevirtual

Get the array element at the given position.

Parameters
posThe position of the element in the array.

Implements iceberg::ArrayLike.

◆ size()

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

Get the number of elements in the array.

Implements iceberg::ArrayLike.


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