iceberg-cpp
Loading...
Searching...
No Matches
Public Attributes | Friends | List of all members
iceberg::SnapshotRef::Branch Struct Reference

Public Attributes

std::optional< int32_t > min_snapshots_to_keep
 
std::optional< int64_t > max_snapshot_age_ms
 
std::optional< int64_t > max_ref_age_ms
 

Friends

bool operator== (const Branch &lhs, const Branch &rhs)
 Compare two branches for equality.
 

Member Data Documentation

◆ max_ref_age_ms

std::optional<int64_t> iceberg::SnapshotRef::Branch::max_ref_age_ms

For snapshot references except the main branch, a positive number for the max age of the snapshot reference to keep while expiring snapshots. Defaults to table property history.expire.max-ref-age-ms. The main branch never expires.

◆ max_snapshot_age_ms

std::optional<int64_t> iceberg::SnapshotRef::Branch::max_snapshot_age_ms

A positive number for the max age of snapshots to keep when expiring, including the latest snapshot. Defaults to table property history.expire.max-snapshot-age-ms.

◆ min_snapshots_to_keep

std::optional<int32_t> iceberg::SnapshotRef::Branch::min_snapshots_to_keep

A positive number for the minimum number of snapshots to keep in a branch while expiring snapshots. Defaults to table property history.expire.min-snapshots-to-keep.


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