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 aWHERE
clause to the inner statement of the pattern comprehensiondefault @NotNull PatternComprehension.OngoingDefinitionWithPatternAndWhere
where
(RelationshipPattern pathPattern) Adds a where clause based on a path pattern to the ongoing definitionMethods inherited from interface org.neo4j.cypherdsl.core.PatternComprehension.OngoingDefinitionWithoutReturn
returning, returning
-
Method Details
-
where
@NotNull @CheckReturnValue @NotNull 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
@NotNull @CheckReturnValue default @NotNull 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
-