Enum Class SnapshotWhenOptions.Flag

All Implemented Interfaces:
Serializable, Comparable<SnapshotWhenOptions.Flag>, java.lang.constant.Constable
Enclosing class:

public static enum SnapshotWhenOptions.Flag extends Enum<SnapshotWhenOptions.Flag>
  • Enum Constant Details


      public static final SnapshotWhenOptions.Flag INITIAL
      Whether to take an initial snapshot upon construction. When not specified, the resulting table will remain empty until trigger first updates.

      public static final SnapshotWhenOptions.Flag INCREMENTAL
      Whether the resulting table should be incremental. When incremental, only the rows of base that have been added or updated will have the latest "stamp key".

      public static final SnapshotWhenOptions.Flag HISTORY
      Whether the resulting table should keep history. A history table appends a full snapshot of base and the "stamp key" as opposed to updating existing rows.

      Note: this flag is currently incompatible with INITIAL and INCREMENTAL.

      See Also:
  • Method Details

    • values

      public static SnapshotWhenOptions.Flag[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SnapshotWhenOptions.Flag valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null