|
iceberg-cpp
|
Reads a snapshot's manifests, loading and caching its manifest list on first access. More...
#include <snapshot.h>
Public Member Functions | |
| SnapshotReader (const Snapshot *snapshot) | |
| const Snapshot & | snapshot () const |
| Get the underlying Snapshot reference. | |
| Result< std::span< ManifestFile > > | Manifests (std::shared_ptr< FileIO > file_io) const |
| Returns all ManifestFile instances for either data or delete manifests in this snapshot. | |
| Result< std::span< ManifestFile > > | DataManifests (std::shared_ptr< FileIO > file_io) const |
| Returns a ManifestFile for each data manifest in this snapshot. | |
| Result< std::span< ManifestFile > > | DeleteManifests (std::shared_ptr< FileIO > file_io) const |
| Returns a ManifestFile for each delete manifest in this snapshot. | |
Reads a snapshot's manifests, loading and caching its manifest list on first access.
| Result< std::span< ManifestFile > > iceberg::SnapshotReader::DataManifests | ( | std::shared_ptr< FileIO > | file_io | ) | const |
Returns a ManifestFile for each data manifest in this snapshot.
| file_io | The FileIO instance to use for reading the manifest list |
| Result< std::span< ManifestFile > > iceberg::SnapshotReader::DeleteManifests | ( | std::shared_ptr< FileIO > | file_io | ) | const |
Returns a ManifestFile for each delete manifest in this snapshot.
| file_io | The FileIO instance to use for reading the manifest list |
| Result< std::span< ManifestFile > > iceberg::SnapshotReader::Manifests | ( | std::shared_ptr< FileIO > | file_io | ) | const |
Returns all ManifestFile instances for either data or delete manifests in this snapshot.
| file_io | The FileIO instance to use for reading the manifest list |