Package org.neo4j.cypherdsl.core
Interface ExposesWhere
-
- All Known Subinterfaces:
ProcedureCall.OngoingInQueryCallWithReturnFields
,ProcedureCall.OngoingStandaloneCallWithReturnFields
,StatementBuilder.OngoingReadingWithoutWhere
@API(status=EXPERIMENTAL, since="2020.0.1") public interface ExposesWhere
A step exposing a severalwhere
methods that are provide entry points of adding conditions.- Since:
- 2020.0.1
- Author:
- Michael J. Simons
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StatementBuilder.OngoingReadingWithWhere
where(Condition condition)
Adds a where clause to this fragement.default StatementBuilder.OngoingReadingWithWhere
where(RelationshipPattern pathPattern)
Adds a where clause based on a path pattern to this match.
-
-
-
Method Detail
-
where
StatementBuilder.OngoingReadingWithWhere where(Condition condition)
Adds a where clause to this fragement.- Parameters:
condition
- The new condition, must not be null- Returns:
- A match or call restricted by a where clause with no return items yet.
-
where
default StatementBuilder.OngoingReadingWithWhere where(RelationshipPattern pathPattern)
Adds a where clause based on a path pattern to this match. See Using path patterns in WHERE.- Parameters:
pathPattern
- The path pattern to add to the where clause. This path pattern must not be null and must not introduce new variables not available in the match.- Returns:
- A match or a call restricted by a where clause with no return items yet.
- Since:
- 1.0.1
-
-