Module org.neo4j.cypherdsl.core
Package org.neo4j.cypherdsl.core
Interface NamedPath.OngoingDefinitionWithName
- Enclosing class:
NamedPath
public static interface NamedPath.OngoingDefinitionWithName
Partial path that has a name (
p =
).-
Method Summary
Modifier and TypeMethodDescription@NotNull NamedPath
definedBy
(PatternElement patternElement) Create a new named path based on aPatternElement
single node.@NotNull NamedPath
get()
Create a new named path that references a given, symbolic name.
-
Method Details
-
definedBy
Create a new named path based on aPatternElement
single node. If aNamedPath
will be provided, it will get used directly.- Parameters:
patternElement
- The PatternElement to be used in named path.- Returns:
- A named path.
-
get
Create a new named path that references a given, symbolic name. No checks are done if the referenced name actually points to a path.- Returns:
- A named path.
- Since:
- 2020.1.4
-