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

Public Member Functions

 SimpleMapLike (std::vector< Scalar > keys, std::vector< Scalar > values)
 
Result< ScalarGetKey (size_t pos) const override
 Get the key at the given position.
 
Result< ScalarGetValue (size_t pos) const override
 Get the value at the given position.
 
size_t size () const override
 Get the number of entries in the map.
 

Member Function Documentation

◆ GetKey()

Result< Scalar > iceberg::SimpleMapLike::GetKey ( size_t  pos) const
inlineoverridevirtual

Get the key at the given position.

Parameters
posThe position of the key in the map.

Implements iceberg::MapLike.

◆ GetValue()

Result< Scalar > iceberg::SimpleMapLike::GetValue ( size_t  pos) const
inlineoverridevirtual

Get the value at the given position.

Parameters
posThe position of the value in the map.

Implements iceberg::MapLike.

◆ size()

size_t iceberg::SimpleMapLike::size ( ) const
inlineoverridevirtual

Get the number of entries in the map.

Implements iceberg::MapLike.


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