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 Details

    • accept

      public void accept(Visitor visitor)
      Description copied from interface: Visitable
      Accept a Visitor visiting this Visitable and its nested Visitables if applicable.
      Specified by:
      accept in interface Visitable
      Parameters:
      visitor - the visitor to notify, must not be null.
    • where

      @NotNull public @NotNull PatternElement where(@Nullable @Nullable Expression predicate)
      Description copied from interface: PatternElement
      Creates a new PatternElement which including an additional filter. Returns this pattern. when predicate is literal null.

      The pattern might be a node pattern or a relationship pattern.

      A WHERE on a pattern is only supported from Neo4j 5.0 onwards.

      Specified by:
      where in interface PatternElement
      Parameters:
      predicate - the predicate to filter on
      Returns:
      a new pattern element or this instance if the predicate to this method was literal null