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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PatternComprehension.OngoingDefinitionWithPatternAndWhere
where(Condition condition)
Adds aWHERE
clause to the inner statement of the pattern comprehensiondefault PatternComprehension.OngoingDefinitionWithPatternAndWhere
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 Detail
-
where
PatternComprehension.OngoingDefinitionWithPatternAndWhere where(Condition condition)
Adds aWHERE
clause 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
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
-
-