Package | Description |
---|---|
org.neo4j.graphdb |
The core graph database API.
|
org.neo4j.graphdb.traversal |
Traversal framework.
|
Modifier and Type | Method and Description |
---|---|
TraversalDescription |
GraphDatabaseService.traversalDescription()
Factory method for unidirectional traversal descriptions.
|
Modifier and Type | Method and Description |
---|---|
TraversalDescription |
TraversalDescription.breadthFirst()
A convenience method for
order(BranchOrderingPolicy)
where a "preorder breadth first" selector is used. |
TraversalDescription |
TraversalDescription.depthFirst()
A convenience method for
order(BranchOrderingPolicy)
where a "preorder depth first" selector is used. |
TraversalDescription |
TraversalDescription.evaluator(Evaluator evaluator)
Adds
evaluator to the list of evaluators which will control the
behavior of the traversal. |
TraversalDescription |
TraversalDescription.evaluator(PathEvaluator evaluator)
Adds
evaluator to the list of evaluators which will control the
behavior of the traversal. |
TraversalDescription |
TraversalDescription.expand(PathExpander<?> expander)
Sets the
PathExpander as the expander of relationships,
discarding all previous calls to
relationships(RelationshipType) and
relationships(RelationshipType, Direction) or any other expand method. |
<STATE> TraversalDescription |
TraversalDescription.expand(PathExpander<STATE> expander,
InitialBranchState<STATE> initialState)
Sets the
PathExpander as the expander of relationships,
discarding all previous calls to
relationships(RelationshipType) and
relationships(RelationshipType, Direction) or any other expand method. |
TraversalDescription |
TraversalDescription.order(BranchOrderingPolicy selector)
Sets the
BranchOrderingPolicy to use. |
TraversalDescription |
TraversalDescription.relationships(RelationshipType type)
Adds
type to the list of relationship types to traverse. |
TraversalDescription |
TraversalDescription.relationships(RelationshipType type,
Direction direction)
Adds
type to the list of relationship types to traverse in
the given direction . |
TraversalDescription |
TraversalDescription.reverse()
Creates an identical
TraversalDescription , although reversed in
how it traverses the graph. |
TraversalDescription |
TraversalDescription.sort(Comparator<? super Path> comparator) |
TraversalDescription |
TraversalDescription.uniqueness(UniquenessFactory uniqueness)
Sets the
UniquenessFactory for creating the
UniquenessFilter to use. |
TraversalDescription |
TraversalDescription.uniqueness(UniquenessFactory uniqueness,
Object parameter)
Sets the
UniquenessFactory for creating the
UniquenessFilter to use. |
Modifier and Type | Method and Description |
---|---|
BidirectionalTraversalDescription |
BidirectionalTraversalDescription.endSide(TraversalDescription endSideDescription)
Sets the end side
TraversalDescription of this bidirectional
traversal. |
BidirectionalTraversalDescription |
BidirectionalTraversalDescription.mirroredSides(TraversalDescription sideDescription)
Sets both the start side and end side of this bidirectional traversal,
the
start side is assigned the
sideDescription and the end side
is assigned the same description, although
reversed . |
BidirectionalTraversalDescription |
BidirectionalTraversalDescription.startSide(TraversalDescription startSideDescription)
Sets the start side
TraversalDescription of this bidirectional
traversal. |
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.