Package org.apache.iceberg
Class DataOperations
java.lang.Object
org.apache.iceberg.DataOperations
Data operations that produce snapshots.
A snapshot can return the operation that created the snapshot to help other components ignore snapshots that are not needed for some tasks. For example, snapshot expiration does not need to clean up deleted files for appends, which have no deleted files.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
New data is appended to the table and no data is removed or deleted.static final String
Data is deleted from the table and no data is added.static final String
New data is added to overwrite existing data.static final String
Files are removed and replaced, without changing the data in the table. -
Method Summary
-
Field Details
-
APPEND
New data is appended to the table and no data is removed or deleted.This operation is implemented by
AppendFiles
.- See Also:
-
REPLACE
Files are removed and replaced, without changing the data in the table.This operation is implemented by
RewriteFiles
.- See Also:
-
OVERWRITE
New data is added to overwrite existing data.This operation is implemented by
OverwriteFiles
andReplacePartitions
.- See Also:
-
DELETE
Data is deleted from the table and no data is added.This operation is implemented by
DeleteFiles
.- See Also:
-