public final class TCommand extends TCommandItem
Modifier and Type | Field and Description |
---|---|
static TCommand |
ADMIN
Constant that represents the "_admin" command verb.
|
static TCommand |
COMMIT
Constant that represents the "_commit" command verb
Commit a transaction
|
static TCommand |
CONNECT
Constant that represents the "_connect" command verb
Start a database session
|
static TCommand |
CURSOR
Constant that represents the "_cursor" command verb
Open a cursor
|
static TCommand |
DEFINE
Constant that represents the "_define" command verb
Create a collection or schema; modify an existing schema
|
static TCommand |
DELETE
Constant that represents the "_delete" command verb
Delete one or more objects
|
static TCommand |
DESTROY
Constant that represents the "_destroy" command verb
Remove a Prepared Query
|
static TCommand |
DIAGNOSE
Constant that represents the "_diagnose" command verb
Perform a diagnostic test
|
static TCommand |
DISCONNECT
Constant that represents the "_disconnect" command verb
Terminate a database session
|
static TCommand |
ENLIST_2PC
Constant that represents the "_enlist2PC" command verb
|
static TCommand |
EXECUTE
Constant that represents the "_execute" command verb
|
static TCommand |
PREPARE
Constant that represents the "_prepare" command verb
|
static TCommand |
PROCESS
Constant that represents the "_process" command verb
Store one or more objects into a collection; or modify an existing XML object
|
static TCommand |
RETRIEVE
Constant that represents the "_retrieve" command verb, which is only used internaly to generate a
TCommandStatement that can carry additional parameters.
|
static TCommand |
RETRIEVE_HEAD
Constant that represents the "_retrieveHead" command verb, which is only used internaly to generate a
TCommandStatement that can carry additional parameters.
|
static TCommand |
ROLLBACK
Constant that represents the "_rollback" command verb
Roll back a transaction
|
static TCommand |
UNDEFINE
Constant that represents the "_undefine" command verb
Delete a collection or schema
|
static TCommand |
XQL
Constant that represents the "_xql" command verb
Retrieve one or more objects using the X-Machine query language
|
static TCommand |
XQUERY
Constant that represents the "_xquery" command verb
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
isFake()
Is it an fake command - not directly usable with Tamino.
|
boolean |
needsNoEffortOnObjectContent()
Does the request for this command needs the interpreter in case the object content header exist?
|
boolean |
needsNoEffortOnOk()
Does the request for this command needs the interpreter in case the X-INO-ReturnValue exists and is "0"?
|
static TCommand |
newCommand(java.lang.String value) |
void |
takeVisitor(TCommandItemVisitor visitor)
Takes a TCommandItemVisitor and tells it that it wants to be visited.
|
getValue, toString
public static final TCommand ADMIN
public static final TCommand DIAGNOSE
public static final TCommand DESTROY
public static final TCommand PROCESS
public static final TCommand DELETE
public static final TCommand DEFINE
public static final TCommand UNDEFINE
public static final TCommand XQL
public static final TCommand CONNECT
public static final TCommand DISCONNECT
public static final TCommand COMMIT
public static final TCommand ROLLBACK
public static final TCommand CURSOR
public static final TCommand XQUERY
public static final TCommand PREPARE
public static final TCommand EXECUTE
public static final TCommand ENLIST_2PC
public static final TCommand RETRIEVE
public static final TCommand RETRIEVE_HEAD
public void takeVisitor(TCommandItemVisitor visitor)
takeVisitor
in class TCommandItem
the
- TCommandItemVisitor that shall visit this instance.public static TCommand newCommand(java.lang.String value)
protected boolean isFake()
public boolean needsNoEffortOnOk()
public boolean needsNoEffortOnObjectContent()
Copyright (c) 2017 Software AG. All Rights Reserved.