public enum TransactionMode extends Enum<TransactionMode> implements org.apache.calcite.sql.Symbolizable
| Enum Constant and Description |
|---|
DEFERRABLE |
ISOLATION_LEVEL_READ_COMMITTED |
ISOLATION_LEVEL_READ_UNCOMMITTED |
ISOLATION_LEVEL_REPEATABLE_READ |
ISOLATION_LEVEL_SERIALIZABLE |
NOT_DEFERRABLE |
READ_ONLY |
READ_WRITE |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static TransactionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionMode READ_WRITE
public static final TransactionMode READ_ONLY
public static final TransactionMode DEFERRABLE
public static final TransactionMode NOT_DEFERRABLE
public static final TransactionMode ISOLATION_LEVEL_SERIALIZABLE
public static final TransactionMode ISOLATION_LEVEL_REPEATABLE_READ
public static final TransactionMode ISOLATION_LEVEL_READ_COMMITTED
public static final TransactionMode ISOLATION_LEVEL_READ_UNCOMMITTED
public static TransactionMode[] values()
for (TransactionMode c : TransactionMode.values()) System.out.println(c);
public static TransactionMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<TransactionMode>Copyright © 2012-2026 Apache Software Foundation. All Rights Reserved.