| Package | Description |
|---|---|
| org.neo4j.graphdb.traversal |
Traversal framework.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
Evaluator.AsPathEvaluator<STATE>
Exposes an
Evaluator as a PathEvaluator. |
static class |
PathEvaluator.Adapter<STATE>
Adapter for
PathEvaluator. |
| Modifier and Type | Method and Description |
|---|---|
static PathEvaluator |
Evaluators.all() |
static PathEvaluator |
Evaluators.atDepth(int depth)
Returns an
Evaluator which only includes positions at depth
and prunes everything deeper than that. |
static PathEvaluator |
Evaluators.endNodeIs(Evaluation evaluationIfMatch,
Evaluation evaluationIfNoMatch,
Node... possibleEndNodes)
An
Evaluator which will return evaluationIfMatch if Path.endNode()
for a given path is any of nodes, else evaluationIfNoMatch. |
static PathEvaluator |
Evaluators.excludeStartPosition() |
static PathEvaluator |
Evaluators.fromDepth(int depth)
Returns an
Evaluator which only includes positions from depth
and deeper and never prunes anything. |
static PathEvaluator |
Evaluators.includeIfAcceptedByAny(Evaluator... evaluators)
Whereas adding
Evaluators to a TraversalDescription puts those
evaluators in AND-mode this can group many evaluators in OR-mode. |
static PathEvaluator |
Evaluators.includeIfAcceptedByAny(PathEvaluator... evaluators)
Whereas adding
Evaluators to a TraversalDescription puts those
evaluators in AND-mode this can group many evaluators in OR-mode. |
static PathEvaluator |
Evaluators.includeIfContainsAll(Node... nodes)
Evaluator which decides to include a
Path if all the
nodes exist in it. |
static PathEvaluator |
Evaluators.includeWhereEndNodeIs(Node... nodes)
Include paths with the specified end nodes.
|
static PathEvaluator |
Evaluators.includeWhereLastRelationshipTypeIs(RelationshipType type,
RelationshipType... orAnyOfTheseTypes) |
static PathEvaluator |
Evaluators.includingDepths(int minDepth,
int maxDepth)
|
static PathEvaluator |
Evaluators.lastRelationshipTypeIs(Evaluation evaluationIfMatch,
Evaluation evaluationIfNoMatch,
RelationshipType type,
RelationshipType... orAnyOfTheseTypes)
|
static PathEvaluator |
Evaluators.pruneWhereEndNodeIs(Node... nodes) |
static PathEvaluator |
Evaluators.pruneWhereLastRelationshipTypeIs(RelationshipType type,
RelationshipType... orAnyOfTheseTypes) |
static PathEvaluator |
Evaluators.toDepth(int depth)
Returns an
Evaluator which includes positions down to depth
and prunes everything deeper than that. |
| Modifier and Type | Method and Description |
|---|---|
BidirectionalTraversalDescription |
BidirectionalTraversalDescription.collisionEvaluator(PathEvaluator collisionEvaluator)
Sets the
PathEvaluator to use for branch collisions. |
TraversalDescription |
TraversalDescription.evaluator(PathEvaluator evaluator)
Adds
evaluator to the list of evaluators which will control the
behavior of the traversal. |
static PathEvaluator |
Evaluators.includeIfAcceptedByAny(PathEvaluator... evaluators)
Whereas adding
Evaluators to a TraversalDescription puts those
evaluators in AND-mode this can group many evaluators in OR-mode. |
Copyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.