Module org.neo4j.cypherdsl.core
Package org.neo4j.cypherdsl.core
Class QuantifiedPathPattern.TargetPattern
java.lang.Object
org.neo4j.cypherdsl.core.QuantifiedPathPattern.TargetPattern
- All Implemented Interfaces:
Visitable,PatternElement
- Enclosing class:
- QuantifiedPathPattern
@API(status=INTERNAL)
public static final class QuantifiedPathPattern.TargetPattern
extends Object
implements PatternElement
Synthetic element for the Cypher-DSL AST.
-
Method Summary
Modifier and TypeMethodDescriptionvoid@NotNull PatternElementwhere(@Nullable Expression predicate) Creates a newPatternElementwhich including an additional filter.
-
Method Details
-
accept
Description copied from interface:Visitable -
where
Description copied from interface:PatternElementCreates a newPatternElementwhich including an additional filter. Returnsthispattern. whenpredicateis literalnull.The pattern might be a
node patternor arelationship pattern.A
WHEREon a pattern is only supported from Neo4j 5.0 onwards.- Specified by:
wherein interfacePatternElement- Parameters:
predicate- the predicate to filter on- Returns:
- a new pattern element or this instance if the predicate to this method was literal
null
-