Package io.deephaven.api.snapshot
Enum Class SnapshotWhenOptions.Flag
- All Implemented Interfaces:
Serializable
,Comparable<SnapshotWhenOptions.Flag>
,java.lang.constant.Constable
- Enclosing class:
- SnapshotWhenOptions
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionWhether the resulting table should keep history.Whether the resulting table should be incremental.Whether to take an initial snapshot upon construction. -
Method Summary
Modifier and TypeMethodDescriptionstatic SnapshotWhenOptions.Flag
Returns the enum constant of this class with the specified name.static SnapshotWhenOptions.Flag[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INITIAL
Whether to take an initial snapshot upon construction. When not specified, the resulting table will remain empty untiltrigger
first updates. -
INCREMENTAL
Whether the resulting table should be incremental. When incremental, only the rows ofbase
that have been added or updated will have the latest "stamp key". -
HISTORY
Whether the resulting table should keep history. A history table appends a full snapshot ofbase
and the "stamp key" as opposed to updating existing rows. When this flag is used, the trigger table must be append-only.Note: this flag is currently incompatible with
INITIAL
andINCREMENTAL
.- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
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.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-