public class DataOperations
extends java.lang.Object
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.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
APPEND
New data is appended to the table and no data is removed or deleted.
|
static java.lang.String |
DELETE
Data is deleted from the table and no data is added.
|
static java.lang.String |
OVERWRITE
New data is added to overwrite existing data.
|
static java.lang.String |
REPLACE
Files are removed and replaced, without changing the data in the table.
|
public static final java.lang.String APPEND
This operation is implemented by AppendFiles
.
public static final java.lang.String REPLACE
This operation is implemented by RewriteFiles
.
public static final java.lang.String OVERWRITE
This operation is implemented by OverwriteFiles
and ReplacePartitions
.
public static final java.lang.String DELETE
This operation is implemented by DeleteFiles
.