Class DataOperations


  • public class DataOperations
    extends java.lang.Object
    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

      Fields 
      Modifier and Type Field 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.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
      • 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