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

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

#include <arrow_array_wrapper.h>

Inheritance diagram for iceberg::ArrowArrayStructLike:
iceberg::StructLike

Classes

class  Impl
 

Public Member Functions

Result< ScalarGetField (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
 
ArrowArrayStructLikeoperator= (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)
 

Detailed Description

Wrapper for one row of a struct-typed ArrowArray.

Member Function Documentation

◆ GetField()

Result< Scalar > iceberg::ArrowArrayStructLike::GetField ( size_t  pos) const
overridevirtual

Get the field value at the given position.

Parameters
posThe position of the field in the struct.

Implements iceberg::StructLike.

◆ num_fields()

size_t iceberg::ArrowArrayStructLike::num_fields ( ) const
overridevirtual

Get the number of fields in the struct.

Implements iceberg::StructLike.


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