Package io.deephaven.engine.table.impl
Enum Class TableUpdateMode
- All Implemented Interfaces:
Serializable
,Comparable<TableUpdateMode>
,java.lang.constant.Constable
Records the guarantees that the table offers regarding addition and removal of data elements. This can apply to
source table
location additions and removals or row additions and removals within a location.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if addition is allowed.static TableUpdateMode
mostPermissiveMode
(Stream<TableUpdateMode> modes) Returns the most permissive mode from the given stream of modes.boolean
Returns true if removal is allowed.static TableUpdateMode
Returns the enum constant of this class with the specified name.static TableUpdateMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STATIC
-
APPEND_ONLY
-
ADD_ONLY
-
ADD_REMOVE
-
-
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
-
addAllowed
public boolean addAllowed()Returns true if addition is allowed. -
removeAllowed
public boolean removeAllowed()Returns true if removal is allowed. -
mostPermissiveMode
Returns the most permissive mode from the given stream of modes. Permissiveness is ranked as follows (from most to least permissive):- Parameters:
modes
- a stream of modes- Returns:
- the most permissive mode encountered in the stream
-