iceberg-cpp
Loading...
Searching...
No Matches
Classes | Enumerations
expire_snapshots.h File Reference

API for removing old snapshots from a table. More...

#include <cstdint>
#include <functional>
#include <memory>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include "iceberg/iceberg_export.h"
#include "iceberg/result.h"
#include "iceberg/type_fwd.h"
#include "iceberg/update/pending_update.h"
#include "iceberg/util/timepoint.h"

Go to the source code of this file.

Classes

class  iceberg::ExpireSnapshots
 API for removing old snapshots from a table. More...
 
struct  iceberg::ExpireSnapshots::ApplyResult
 

Enumerations

enum class  iceberg::CleanupLevel : uint8_t { kNone , kMetadataOnly , kAll }
 An enum representing possible clean up levels used in snapshot expiration. More...
 

Detailed Description

API for removing old snapshots from a table.

Enumeration Type Documentation

◆ CleanupLevel

enum class iceberg::CleanupLevel : uint8_t
strong

An enum representing possible clean up levels used in snapshot expiration.

Enumerator
kNone 

Skip all file cleanup, only remove snapshot metadata.

kMetadataOnly 

Clean up only metadata files (manifests, manifest lists, statistics), retain data files.

kAll 

Clean up both metadata and data files (default).