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 TypeMethodDescriptionvoidstatic @Nullable Wherefrom(@Nullable Expression optionalWhere) Creates a new WHEREtoString()Mostvisitableswill 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
optionalWherehas been NULL - Since:
- 2022.0.0
-
accept
Description copied from interface:Visitable -
toString
Description copied from interface:VisitableMostvisitableswill 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. UsingtoStringis 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.
-