Enum Class Dialect

java.lang.Object
java.lang.Enum<Dialect>
org.neo4j.cypherdsl.core.renderer.Dialect
All Implemented Interfaces:
Serializable, Comparable<Dialect>, Constable

@API(status=STABLE, since="2022.3.0") public enum Dialect extends Enum<Dialect>
The dialect to be used when rendering a statement into Cypher.
Since:
2022.3.0
Author:
Michael J. Simons
  • Enum Constant Details

    • DEFAULT

      @Deprecated(forRemoval=true, since="2023.4.0") public static final Dialect DEFAULT
      Deprecated, for removal: This API element is subject to removal in a future version.
      Please use NEO4J_4
    • NEO4J_4

      public static final Dialect NEO4J_4
      Neo4j 4.4 and earlier
    • NEO4J_5

      public static final Dialect NEO4J_5
      Neo4j 5
  • Method Details

    • values

      public static Dialect[] 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 Dialect 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