|
XCC/J 6.0-3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Session.TransactionMode>
com.marklogic.xcc.Session.TransactionMode
public static enum Session.TransactionMode
The transaction mode for the session, which governs how transactions are created, and whether they are automatically committed.
| Enum Constant Summary | |
|---|---|
AUTO
Creates a new transaction for every request, and commits (or rolls back) the transaction at the end of that request |
|
QUERY
Creates a read-only query transaction to group requests. |
|
UPDATE
Creates an updating transaction to group requests. |
|
| Method Summary | |
|---|---|
static Session.TransactionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Session.TransactionMode[] |
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 Session.TransactionMode AUTO
public static final Session.TransactionMode QUERY
public static final Session.TransactionMode UPDATE
| Method Detail |
|---|
public static Session.TransactionMode[] values()
for (Session.TransactionMode c : Session.TransactionMode.values()) System.out.println(c);
public static Session.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 name
NullPointerException - if the argument is null
|
XCC/J 6.0-3 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
Complete online documentation for MarkLogic Server, XQuery and related components may be found at developer.marklogic.com