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

An immutable array-like wrapper. More...

#include <struct_like.h>

Inheritance diagram for iceberg::ArrayLike:
iceberg::ArrowArrayArrayLike iceberg::PartitionFieldSummaryArrayLike iceberg::SimpleArrayLike

Public Member Functions

virtual Result< ScalarGetElement (size_t pos) const =0
 Get the array element at the given position.
 
virtual size_t size () const =0
 Get the number of elements in the array.
 

Detailed Description

An immutable array-like wrapper.

Member Function Documentation

◆ GetElement()

virtual Result< Scalar > iceberg::ArrayLike::GetElement ( size_t  pos) const
pure virtual

Get the array element at the given position.

Parameters
posThe position of the element in the array.

Implemented in iceberg::ArrowArrayArrayLike, iceberg::PartitionFieldSummaryArrayLike, and iceberg::SimpleArrayLike.

◆ size()

virtual size_t iceberg::ArrayLike::size ( ) const
pure virtual

Get the number of elements in the array.

Implemented in iceberg::ArrowArrayArrayLike, iceberg::PartitionFieldSummaryArrayLike, and iceberg::SimpleArrayLike.


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