Uses of Interface
org.neo4j.graphdb.traversal.TraversalDescription
Package
Description
The core graph database API.
Traversal framework.
-
Uses of TraversalDescription in org.neo4j.graphdb
Modifier and TypeMethodDescriptionTransaction.traversalDescription()
Factory method for unidirectional traversal descriptions. -
Uses of TraversalDescription in org.neo4j.graphdb.traversal
Modifier and TypeMethodDescriptionTraversalDescription.breadthFirst()
A convenience method fororder(BranchOrderingPolicy)
where a "preorder breadth first" selector is used.TraversalDescription.depthFirst()
A convenience method fororder(BranchOrderingPolicy)
where a "preorder depth first" selector is used.Addsevaluator
to the list of evaluators which will control the behavior of the traversal.TraversalDescription.evaluator
(PathEvaluator evaluator) Addsevaluator
to the list of evaluators which will control the behavior of the traversal.TraversalDescription.expand
(PathExpander<?> expander) Sets thePathExpander
as the expander of relationships, discarding all previous calls torelationships(RelationshipType)
andrelationships(RelationshipType, Direction)
or any other expand method.<STATE> TraversalDescription
TraversalDescription.expand
(PathExpander<STATE> expander, InitialBranchState<STATE> initialState) Sets thePathExpander
as the expander of relationships, discarding all previous calls torelationships(RelationshipType)
andrelationships(RelationshipType, Direction)
or any other expand method.TraversalDescription.order
(BranchOrderingPolicy selector) Sets theBranchOrderingPolicy
to use.TraversalDescription.relationships
(RelationshipType type) Addstype
to the list of relationship types to traverse.TraversalDescription.relationships
(RelationshipType type, Direction direction) Addstype
to the list of relationship types to traverse in the givendirection
.TraversalDescription.reverse()
Creates an identicalTraversalDescription
, although reversed in how it traverses the graph.TraversalDescription.sort
(Comparator<? super Path> comparator) TraversalDescription.uniqueness
(UniquenessFactory uniqueness) Sets theUniquenessFactory
for creating theUniquenessFilter
to use.TraversalDescription.uniqueness
(UniquenessFactory uniqueness, Object parameter) Sets theUniquenessFactory
for creating theUniquenessFilter
to use.Modifier and TypeMethodDescriptionBidirectionalTraversalDescription.endSide
(TraversalDescription endSideDescription) Sets the end sideTraversalDescription
of this bidirectional traversal.BidirectionalTraversalDescription.mirroredSides
(TraversalDescription sideDescription) Sets both the start side and end side of this bidirectional traversal, thestart side
is assigned thesideDescription
and theend side
is assigned the same description, althoughreversed
.BidirectionalTraversalDescription.startSide
(TraversalDescription startSideDescription) Sets the start sideTraversalDescription
of this bidirectional traversal.