Package org.basex.server
Enum Class ServerCmd
- All Implemented Interfaces:
Serializable,Comparable<ServerCmd>,java.lang.constant.Constable
This class defines the available command-line commands.
- Author:
- BaseX Team 2005-21, BSD License, Christian Gruen
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCode for adding a document to a database: {path}0{input}0.Code for binding an external query variable: {id}0{name}0{val}0{type}0.Code for closing the query: {id}0.Code for running a database command: {path}0{input}0.Code for binding a context value: {id}0{val}0{type}0.Code for creating a database: {name}0{input}0.Code for executing the query: {id}0.Code for executing a query and returning all information relevant for XQJ: {id}0.Code for showing the query info: {id}0.Code for iterating results (obsolete).Code for showing the serializations options: {id}0.Code for creating a query process: {query}0.Code for replacing a document in a database: {path}0{input}0.Code for executing the query in an iterative manner: {id}0.Code for storing raw data in a database: {path}0{input}0.Code for returning the update flag: {id}0. -
Field Summary
Fields -
Method Summary
-
Enum Constant Details
-
QUERY
Code for creating a query process: {query}0. -
NEXT
Code for iterating results (obsolete). -
CLOSE
Code for closing the query: {id}0. -
BIND
Code for binding an external query variable: {id}0{name}0{val}0{type}0. -
RESULTS
Code for executing the query in an iterative manner: {id}0. -
EXEC
Code for executing the query: {id}0. -
INFO
Code for showing the query info: {id}0. -
OPTIONS
Code for showing the serializations options: {id}0. -
CREATE
Code for creating a database: {name}0{input}0. -
ADD
Code for adding a document to a database: {path}0{input}0. -
REPLACE
Code for replacing a document in a database: {path}0{input}0. -
STORE
Code for storing raw data in a database: {path}0{input}0. -
CONTEXT
Code for binding a context value: {id}0{val}0{type}0. -
UPDATING
Code for returning the update flag: {id}0. -
FULL
Code for executing a query and returning all information relevant for XQJ: {id}0. -
COMMAND
Code for running a database command: {path}0{input}0.
-
-
Field Details
-
code
public final int codeControl code (soon obsolete).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-