48 return MetadataTableKind::kSnapshots;
51 const std::shared_ptr<Schema>&
schema()
const override;
61 std::shared_ptr<const TableMetadata> metadata,
62 const std::shared_ptr<Schema>& projected_schema, int64_t batch_size);
80 std::shared_ptr<MetadataScanTask> task);
82 const std::shared_ptr<MetadataScanTask> task_;
Scan the snapshots metadata captured from a table.
Definition snapshots_table.h:68
static Result< std::unique_ptr< SnapshotsScan > > Make(internal::MetadataScanContext context)
Create a scan from captured metadata table settings.
Result< MetadataScanTaskStreamPtr > PlanTasksStream() const override
Return a fresh task stream; consuming it may report planning errors.
Snapshots metadata table.
Definition snapshots_table.h:38
MetadataTableKind kind() const noexcept override
Return this metadata table's kind.
Definition snapshots_table.h:47
Result< std::unique_ptr< MetadataScan > > MakeScan(internal::MetadataScanContext context) const override
Plan a scan using the captured metadata, projection, and snapshot selection.
const std::shared_ptr< Schema > & schema() const override
Return the complete canonical schema of this metadata table.
static const std::shared_ptr< Schema > & CanonicalSchema()
Return the canonical schema of the snapshots metadata table.
Definition expected.h:1199
Define symbol visibility macros for core Iceberg APIs.
Core Apache Iceberg C++ APIs.
Definition arrow_io_util.h:34
MetadataTableKind
Iceberg metadata tables exposed by Table::Inspect().
Definition metadata_table.h:40
Define Result, Status, and error helpers.
Captured metadata and logical settings shared by a builder and its scans.
Definition metadata_scan.h:46