Package org.neo4j.graphdb
Enum Class QueryExecutionType.QueryType
- All Implemented Interfaces:
Serializable
,Comparable<QueryExecutionType.QueryType>
,Constable
- Enclosing class:
- QueryExecutionType
Signifies what type of query an
QueryExecutionType
executes.-
Enum Constant Summary
Enum ConstantDescriptionA database management queryA read-only query, that does not change any data, but only produces a result.A read/write query, that creates or updates data, and also produces a result.A schema changing query, that updates the schema but neither changes any data nor yields any rows in the result.A write-only query, that creates or updates data, but does not yield any rows in the result. -
Method Summary
Modifier and TypeMethodDescriptionstatic QueryExecutionType.QueryType
Returns the enum constant of this class with the specified name.static QueryExecutionType.QueryType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
READ_ONLY
A read-only query, that does not change any data, but only produces a result. -
READ_WRITE
A read/write query, that creates or updates data, and also produces a result. -
WRITE
A write-only query, that creates or updates data, but does not yield any rows in the result. -
SCHEMA_WRITE
A schema changing query, that updates the schema but neither changes any data nor yields any rows in the result. -
DBMS
A database management query
-
-
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
-