java.lang.Object
org.neo4j.cypherdsl.core.NamedPath
- All Implemented Interfaces:
Visitable,IdentifiableElement,Named,PatternElement
@API(status=STABLE,
since="1.1")
public final class NamedPath
extends Object
implements PatternElement, Named
Represents a named path. A named path can be either a
Note: We cannot check a value that has been yielded from a procedure upfront to verify that it is a named path. This is up to the caller.
RelationshipPattern that
has been assigned to a variable as in p := (a)-->(b), a call to functions known
to return paths or an existing, symbolic name that might come from an arbitrary
procedure returning path elements. Note: We cannot check a value that has been yielded from a procedure upfront to verify that it is a named path. This is up to the caller.
- Since:
- 1.1
- Author:
- Michael J. Simons
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacePartial path that has a name (p =).static interfacePartial path that has a name, introduced as a superinterface forNamedPath.OngoingDefinitionWithNameto avoid draggingNamedPath.OngoingDefinitionWithName.get().static interfacePartial path with the number of paths to match.static interfacePartial path that has a name (p =) and is based on a graph algorithm function. -
Method Summary
Modifier and TypeMethodDescriptionvoidReturns an optional symbolic name.static NamedPathselect(PatternSelector patternSelector, PatternElement patternElement) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.neo4j.cypherdsl.core.Named
asExpression, getRequiredSymbolicNameMethods inherited from interface org.neo4j.cypherdsl.core.PatternElement
where
-
Method Details
-
select
@API(status=INTERNAL, since="2024.7.0") public static NamedPath select(PatternSelector patternSelector, PatternElement patternElement) -
getSymbolicName
Description copied from interface:NamedReturns an optional symbolic name.- Specified by:
getSymbolicNamein interfaceNamed- Returns:
- an optional symbolic name
-
accept
Description copied from interface:Visitable
-