iceberg-cpp
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
iceberg::TableMetadataCache Class Reference

Public Types

template<typename T >
using ByIdMap = std::unordered_map< int32_t, std::shared_ptr< T > >
 
using SchemasMap = ByIdMap< Schema >
 
using PartitionSpecsMap = ByIdMap< PartitionSpec >
 
using SortOrdersMap = ByIdMap< SortOrder >
 
using SnapshotsMap = std::unordered_map< int64_t, std::shared_ptr< Snapshot > >
 
using SchemasMapRef = std::reference_wrapper< const SchemasMap >
 
using PartitionSpecsMapRef = std::reference_wrapper< const PartitionSpecsMap >
 
using SortOrdersMapRef = std::reference_wrapper< const SortOrdersMap >
 
using SnapshotsMapRef = std::reference_wrapper< const SnapshotsMap >
 

Public Member Functions

 TableMetadataCache (const TableMetadata *metadata)
 
Result< SchemasMapRef > GetSchemasById () const
 
Result< PartitionSpecsMapRef > GetPartitionSpecsById () const
 
Result< SortOrdersMapRef > GetSortOrdersById () const
 
Result< SnapshotsMapRef > GetSnapshotsById () const
 

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