public class CatalogSnapshotCommit extends Object implements SnapshotCommit
SnapshotCommit
using Catalog
to commit.Constructor and Description |
---|
CatalogSnapshotCommit(Catalog catalog,
Identifier identifier,
String uuid) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
commit(Snapshot snapshot,
String branch,
List<PartitionStatistics> statistics) |
public CatalogSnapshotCommit(Catalog catalog, Identifier identifier, @Nullable String uuid)
public boolean commit(Snapshot snapshot, String branch, List<PartitionStatistics> statistics) throws Exception
commit
in interface SnapshotCommit
Exception
public void close() throws Exception
close
in interface AutoCloseable
Exception
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.