iceberg-cpp
Loading...
Searching...
No Matches
Public Member Functions | List of all members
iceberg::StructLike Class Referenceabstract

An immutable struct-like wrapper. More...

#include <struct_like.h>

Inheritance diagram for iceberg::StructLike:
iceberg::ArrowArrayStructLike iceberg::FailingStructLike iceberg::ManifestFileStructLike iceberg::PartitionFieldSummaryStructLike iceberg::PartitionValues iceberg::SimpleStructLike

Public Member Functions

virtual Result< ScalarGetField (size_t pos) const =0
 Get the field value at the given position.
 
virtual size_t num_fields () const =0
 Get the number of fields in the struct.
 

Detailed Description

An immutable struct-like wrapper.

Member Function Documentation

◆ GetField()

virtual Result< Scalar > iceberg::StructLike::GetField ( size_t  pos) const
pure virtual

Get the field value at the given position.

Parameters
posThe position of the field in the struct.

Implemented in iceberg::ArrowArrayStructLike, iceberg::PartitionFieldSummaryStructLike, iceberg::ManifestFileStructLike, iceberg::PartitionValues, iceberg::SimpleStructLike, and iceberg::FailingStructLike.

◆ num_fields()

virtual size_t iceberg::StructLike::num_fields ( ) const
pure virtual

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