iceberg-cpp
Loading...
Searching...
No Matches
Public Member Functions | List of all members
iceberg::SimpleStructLike Class Reference
Inheritance diagram for iceberg::SimpleStructLike:
iceberg::StructLike

Public Member Functions

 SimpleStructLike (std::vector< Scalar > fields)
 
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.
 
void SetField (size_t pos, Scalar value)
 

Member Function Documentation

◆ GetField()

Result< Scalar > iceberg::SimpleStructLike::GetField ( size_t  pos) const
inlineoverridevirtual

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::SimpleStructLike::num_fields ( ) const
inlineoverridevirtual

Get the number of fields in the struct.

Implements iceberg::StructLike.


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