|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ReadMode>
org.openrdf.sail.memory.model.ReadMode
public enum ReadMode
A type-safe enumeration for read modes for MemStatementIterator.
MemStatementIterator| Enum Constant Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ReadMode COMMITTED
public static final ReadMode TRANSACTION
public static final ReadMode RAW
| Method Detail |
|---|
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 name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||