public enum ReadMode extends Enum<ReadMode>
MemStatementIterator| Enum Constant and Description |
|---|
COMMITTED
Constant indicating that only committed statements should be read.
|
RAW
Constant indicating that statements should be read no matter what their
transaction status is.
|
TRANSACTION
Constant indicating that statements should be treated as if the currently
active transaction has been committed.
|
| Modifier and Type | Method and Description |
|---|---|
static ReadMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReadMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReadMode COMMITTED
public static final ReadMode TRANSACTION
public static final ReadMode RAW
public static ReadMode[] values()
for (ReadMode c : ReadMode.values()) System.out.println(c);
public static ReadMode 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 nullCopyright © 2001-2014 Aduna. All Rights Reserved.