public enum ServerCmd extends Enum<ServerCmd>
Enum Constant and Description |
---|
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 value: {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.
|
Modifier and Type | Field and Description |
---|---|
int |
code
Control code (soon obsolete).
|
Modifier and Type | Method and Description |
---|---|
static ServerCmd |
valueOf(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.
|
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
public static ServerCmd[] values()
for (ServerCmd c : ServerCmd.values()) System.out.println(c);
public static ServerCmd 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 © 2005–2015 BaseX Team. All rights reserved.