- All Implemented Interfaces:
Serializable,Comparable<Dialect>,Constable
The dialect to be used when rendering a statement into Cypher.
- Since:
- 2022.3.0
- Author:
- Michael J. Simons
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA placeholder for Neo4j 2025 calver.Neo4j 4.4 and earlier.Neo4j 5.Enhanced Neo4j 5 dialect that renders importing with statements for call subqueries as variable scoped subqueries, suitable for Neo4j >= 5.23.Deprecated, for removal: This API element is subject to removal in a future version.Essentially the same asNEO4J_5_23but also enabling theCYPHER 25prefix on generated statements.Essentially the same asNEO4J_5_23but also enabling theCYPHER 5prefix on generated statements.Essentially the same asNEO4J_5_23using the databases default Cypher version. -
Method Summary
-
Enum Constant Details
-
NEO4J_4
Neo4j 4.4 and earlier. -
NEO4J_5
Neo4j 5. -
NEO4J_5_23
Enhanced Neo4j 5 dialect that renders importing with statements for call subqueries as variable scoped subqueries, suitable for Neo4j >= 5.23.- Since:
- 2024.1.0
-
NEO4J_5_26
Deprecated, for removal: This API element is subject to removal in a future version.UseNEO4J_5_CYPHER_5if necessary orNEO4J_5_DEFAULT_CYPHERin all other cases.A Neo4j 5.26 and higher dialect that always renders theCYPHER 5prefix.- Since:
- 2024.5.0
-
NEO4J_5_DEFAULT_CYPHER
Essentially the same asNEO4J_5_23using the databases default Cypher version. This is the default dialect for Cypher-DSL 2025.0.0 and onwards.- Since:
- 2025.0.0
-
NEO4J_5_CYPHER_5
Essentially the same asNEO4J_5_23but also enabling theCYPHER 5prefix on generated statements. This dialect works on Neo4j 5.26 and higher. Genrally,NEO4J_5_DEFAULT_CYPHERis preferrable.- Since:
- 2025.0.0
-
NEO4J_5_CYPHER_25
Essentially the same asNEO4J_5_23but also enabling theCYPHER 25prefix on generated statements. This dialect works on Neo4j 5.26 and higher. Genrally,NEO4J_5_23is preferable.- Since:
- 2025.0.0
-
NEO4J_2025
A placeholder for Neo4j 2025 calver. Same behaviour asNEO4J_5_DEFAULT_CYPHERin this version of Cypher-DSL.- Since:
- 2025.0.0
-
-
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
-
NEO4J_5_CYPHER_5if necessary orNEO4J_5_DEFAULT_CYPHERin all other cases.