Enum Class TableRowEventType

java.lang.Object
java.lang.Enum<TableRowEventType>
org.apache.ignite.table.TableRowEventType
All Implemented Interfaces:
Serializable, Comparable<TableRowEventType>, Constable

public enum TableRowEventType extends Enum<TableRowEventType>
Table row event type.
  • Enum Constant Details

    • CREATED

      public static final TableRowEventType CREATED
      Row created.
    • UPDATED

      public static final TableRowEventType UPDATED
      Row updated.
    • REMOVED

      public static final TableRowEventType REMOVED
      Row removed.
    • ARCHIVED

      public static final TableRowEventType ARCHIVED
      Row archived. This event happens when you have a table with ARCHIVE AT condition set and rows get archived according to this condition, meaning those rows are removed on a primary storage but will still be available on the secondary storage.
  • Method Details

    • values

      public static TableRowEventType[] 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 TableRowEventType 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
    • id

      public int id()
    • fromId

      public static TableRowEventType fromId(int id)
      Find TableRowEventType by corresponding id. Throws IllegalArgumentException if id is unknown.
      Parameters:
      id - id of the TableRowEventType.
      Returns:
      TableRowEventType corresponding to id.