Package org.neo4j.graphdb.traversal
Interface Paths.PathDescriptor<T extends Path>
- Type Parameters:
T
- the type ofPath
.
- All Known Implementing Classes:
Paths.DefaultPathDescriptor
- Enclosing class:
- Paths
public static interface Paths.PathDescriptor<T extends Path>
Provides hooks to help build a string representation of a
Path
.-
Method Summary
Modifier and TypeMethodDescriptionnodeRepresentation
(T path, Node node) Returns a string representation of aNode
.relationshipRepresentation
(T path, Node from, Relationship relationship) Returns a string representation of aRelationship
.
-
Method Details
-
nodeRepresentation
Returns a string representation of aNode
. -
relationshipRepresentation
Returns a string representation of aRelationship
.- Parameters:
path
- thePath
we're building a string representation from.from
- the previousNode
in the path.relationship
- theRelationship
to return a string representation of.- Returns:
- a string representation of a
Relationship
.
-