Enum TransactionMode

java.lang.Object
java.lang.Enum<TransactionMode>
org.apache.calcite.sql.babel.postgres.TransactionMode
All Implemented Interfaces:
Serializable, Comparable<TransactionMode>, Constable, Symbolizable

public enum TransactionMode extends Enum<TransactionMode> implements Symbolizable
Defines transaction mode keywords.
  • Enum Constant Details

    • READ_WRITE

      public static final TransactionMode READ_WRITE
    • READ_ONLY

      public static final TransactionMode READ_ONLY
    • DEFERRABLE

      public static final TransactionMode DEFERRABLE
    • NOT_DEFERRABLE

      public static final TransactionMode NOT_DEFERRABLE
    • ISOLATION_LEVEL_SERIALIZABLE

      public static final TransactionMode ISOLATION_LEVEL_SERIALIZABLE
    • ISOLATION_LEVEL_REPEATABLE_READ

      public static final TransactionMode ISOLATION_LEVEL_REPEATABLE_READ
    • ISOLATION_LEVEL_READ_COMMITTED

      public static final TransactionMode ISOLATION_LEVEL_READ_COMMITTED
    • ISOLATION_LEVEL_READ_UNCOMMITTED

      public static final TransactionMode ISOLATION_LEVEL_READ_UNCOMMITTED
  • Method Details

    • values

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

      public static TransactionMode valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<TransactionMode>