Enum Class QueryExecutionType.QueryType

java.lang.Object
java.lang.Enum<QueryExecutionType.QueryType>
org.neo4j.graphdb.QueryExecutionType.QueryType
All Implemented Interfaces:
Serializable, Comparable<QueryExecutionType.QueryType>, Constable
Enclosing class:
QueryExecutionType

public static enum QueryExecutionType.QueryType extends Enum<QueryExecutionType.QueryType>
Signifies what type of query an QueryExecutionType executes.
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    A database management query
    A 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 Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.
  • Enum Constant Details

    • READ_ONLY

      public static final QueryExecutionType.QueryType READ_ONLY
      A read-only query, that does not change any data, but only produces a result.
    • READ_WRITE

      public static final QueryExecutionType.QueryType READ_WRITE
      A read/write query, that creates or updates data, and also produces a result.
    • WRITE

      public static final QueryExecutionType.QueryType WRITE
      A write-only query, that creates or updates data, but does not yield any rows in the result.
    • SCHEMA_WRITE

      public static final QueryExecutionType.QueryType SCHEMA_WRITE
      A schema changing query, that updates the schema but neither changes any data nor yields any rows in the result.
    • DBMS

      public static final QueryExecutionType.QueryType DBMS
      A database management query
  • Method Details

    • values

      public static QueryExecutionType.QueryType[] 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

      public static QueryExecutionType.QueryType valueOf(String name)
      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 name
      NullPointerException - if the argument is null