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