public interface AppendFiles extends SnapshotUpdate<AppendFiles>
This API accumulates file additions, produces a new Snapshot
of the table, and commits
that snapshot as the current.
When committing, these changes will be applied to the latest table snapshot. Commit conflicts will be resolved by applying the changes to the new latest snapshot and reattempting the commit.
Modifier and Type | Method and Description |
---|---|
AppendFiles |
appendFile(DataFile file)
Append a
DataFile to the table. |
AppendFiles |
appendManifest(ManifestFile file)
Append the contents of a manifest to the table.
|
deleteWith, set, stageOnly
apply, commit
AppendFiles appendFile(DataFile file)
DataFile
to the table.file
- a data fileAppendFiles appendManifest(ManifestFile file)
The manifest must contain only appended files. All files in the manifest will be appended to the table in the snapshot created by this update.
file
- a manifest file