Module org.neo4j.cypherdsl.core
Package org.neo4j.cypherdsl.core
Interface PatternComprehension.OngoingDefinitionWithPattern
- All Superinterfaces:
PatternComprehension.OngoingDefinitionWithoutReturn
- Enclosing class:
- PatternComprehension
public static interface PatternComprehension.OngoingDefinitionWithPattern
extends PatternComprehension.OngoingDefinitionWithoutReturn
Allows to add a where clause into the definition of the pattern.
-
Method Summary
Modifier and TypeMethodDescriptionAdds aWHEREclause to the inner statement of the pattern comprehension.where(RelationshipPattern pathPattern) Adds a where clause based on a path pattern to the ongoing definition.Methods inherited from interface org.neo4j.cypherdsl.core.PatternComprehension.OngoingDefinitionWithoutReturn
returning, returning
-
Method Details
-
where
@CheckReturnValue PatternComprehension.OngoingDefinitionWithPatternAndWhere where(Condition condition) Adds aWHEREclause to the inner statement of the pattern comprehension.- Parameters:
condition- an initial condition to be used withWHERE- Returns:
- an ongoing definition of a pattern comprehension for furhter modification
-
where
@CheckReturnValue default PatternComprehension.OngoingDefinitionWithPatternAndWhere where(RelationshipPattern pathPattern) Adds a where clause based on a path pattern to the ongoing definition.- 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:
- 2020.1.4
-