Package org.apache.iceberg
Class DataOperations
- java.lang.Object
-
- org.apache.iceberg.DataOperations
-
public class DataOperations extends java.lang.ObjectData 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
Fields Modifier and Type Field Description static java.lang.StringAPPENDNew data is appended to the table and no data is removed or deleted.static java.lang.StringDELETEData is deleted from the table and no data is added.static java.lang.StringOVERWRITENew data is added to overwrite existing data.static java.lang.StringREPLACEFiles are removed and replaced, without changing the data in the table.
-
-
-
Field Detail
-
APPEND
public static final java.lang.String APPEND
New data is appended to the table and no data is removed or deleted.This operation is implemented by
AppendFiles.- See Also:
- Constant Field Values
-
REPLACE
public static final java.lang.String REPLACE
Files are removed and replaced, without changing the data in the table.This operation is implemented by
RewriteFiles.- See Also:
- Constant Field Values
-
OVERWRITE
public static final java.lang.String OVERWRITE
New data is added to overwrite existing data.This operation is implemented by
OverwriteFilesandReplacePartitions.- See Also:
- Constant Field Values
-
DELETE
public static final java.lang.String DELETE
Data is deleted from the table and no data is added.This operation is implemented by
DeleteFiles.- See Also:
- Constant Field Values
-
-