Enum Class TableUpdateMode

java.lang.Object
java.lang.Enum<TableUpdateMode>
io.deephaven.engine.table.impl.TableUpdateMode
All Implemented Interfaces:
Serializable, Comparable<TableUpdateMode>, java.lang.constant.Constable

public enum TableUpdateMode extends Enum<TableUpdateMode>
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.
  • Enum Constant Details

  • Method Details

    • values

      public static TableUpdateMode[] 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

      public static TableUpdateMode 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.)
      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 name
      NullPointerException - 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

      public static TableUpdateMode mostPermissiveMode(Stream<TableUpdateMode> modes)
      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