java.lang.Object
org.neo4j.cypherdsl.core.Where
- All Implemented Interfaces:
Visitable
Roughly corresponding to Where.
- Since:
- 1.0
- Author:
- Michael J. Simons
-
Method Summary
Modifier and TypeMethodDescriptionvoid
static @Nullable Where
from
(@Nullable Expression optionalWhere) Creates a new WHEREtoString()
Mostvisitables
will render themselves into a Cypher fragment preceded with the actual classname.
-
Method Details
-
from
Creates a new WHERE- Parameters:
optionalWhere
- An optional expression that must be usable"as condition"
.- Returns:
- A WHERE expression or null when
optionalWhere
has been NULL - Since:
- 2022.0.0
-
accept
Description copied from interface:Visitable
-
toString
Description copied from interface:Visitable
Mostvisitables
will render themselves into a Cypher fragment preceded with the actual classname. The representation however is not cached - in contrast to the ones for full statements. UsingtoString
is recommended for debugging purposes mainly, and not for production use.The concrete classname has been prepended to help debugging and actually to discourage using fragments to build queries without explicitly rendering them, either as statement or going through the renderer on purpose.
-