Package org.neo4j.cypherdsl.core
Interface NamedPath.OngoingDefinitionWithName
-
- Enclosing class:
- NamedPath
public static interface NamedPath.OngoingDefinitionWithNamePartial path that has a name (p =).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull NamedPathdefinedBy(PatternElement patternElement)Create a new named path based on aPatternElementsingle node.@NotNull NamedPathget()Create a new named path that references a given, symbolic name.
-
-
-
Method Detail
-
definedBy
@NotNull @Contract(pure=true) @NotNull NamedPath definedBy(PatternElement patternElement)
Create a new named path based on aPatternElementsingle node. If aNamedPathwill be provided, it will get used directly.- Parameters:
patternElement- The PatternElement to be used in named path.- Returns:
- A named path.
-
get
@NotNull @Contract(pure=true) @NotNull NamedPath 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
-
-