|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ServerCmd>
org.basex.server.ServerCmd
public enum ServerCmd
This class defines the available command-line commands.
Enum Constant Summary | |
---|---|
ADD
Code for adding a document to a database: {path}0{input}0. |
|
BIND
Code for binding an external query variable: {id}0{name}0{val}0{type}0. |
|
CLOSE
Code for closing the query: {id}0. |
|
COMMAND
Code for running a database command: {path}0{input}0. |
|
CONTEXT
Code for binding a context item: {id}0{val}0{type}0. |
|
CREATE
Code for creating a database: {name}0{input}0. |
|
EXEC
Code for executing the query: {id}0. |
|
FULL
Code for executing a query and returning all information relevant for XQJ: {id}0. |
|
INFO
Code for showing the query info: {id}0. |
|
NEXT
Code for iterating results (obsolete). |
|
OPTIONS
Code for showing the serializations options: {id}0. |
|
QUERY
Code for creating a query process: {query}0. |
|
REPLACE
Code for replacing a document in a database: {path}0{input}0. |
|
RESULTS
Code for executing the query in an iterative manner: {id}0. |
|
STORE
Code for storing raw data in a database: {path}0{input}0. |
|
UNWATCH
Code for unwatching an event: {name}0. |
|
UPDATING
Code for returning the update flag: {id}0. |
|
WATCH
Code for watching an event: {name}0. |
Field Summary | |
---|---|
int |
code
Control code (soon obsolete). |
Method Summary | |
---|---|
static ServerCmd |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ServerCmd[] |
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 ServerCmd QUERY
public static final ServerCmd NEXT
public static final ServerCmd CLOSE
public static final ServerCmd BIND
public static final ServerCmd RESULTS
public static final ServerCmd EXEC
public static final ServerCmd INFO
public static final ServerCmd OPTIONS
public static final ServerCmd CREATE
public static final ServerCmd ADD
public static final ServerCmd WATCH
public static final ServerCmd UNWATCH
public static final ServerCmd REPLACE
public static final ServerCmd STORE
public static final ServerCmd CONTEXT
public static final ServerCmd UPDATING
public static final ServerCmd FULL
public static final ServerCmd COMMAND
Field Detail |
---|
public final int code
Method Detail |
---|
public static ServerCmd[] values()
for (ServerCmd c : ServerCmd.values()) System.out.println(c);
public static ServerCmd valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |