Package | Description |
---|---|
org.neo4j.graphdb.traversal |
Traversal framework.
|
Modifier and Type | Method and Description |
---|---|
Evaluation |
Evaluator.evaluate(Path path)
Evaluates a
Path and returns an Evaluation containing
information about whether or not to include it in the traversal result,
i.e return it from the Traverser . |
Evaluation |
Evaluator.AsPathEvaluator.evaluate(Path path) |
Evaluation |
PathEvaluator.Adapter.evaluate(Path path) |
Evaluation |
Evaluator.AsPathEvaluator.evaluate(Path path,
BranchState<STATE> state) |
Evaluation |
PathEvaluator.evaluate(Path path,
BranchState<STATE> state)
Evaluates a
Path and returns an Evaluation containing
information about whether or not to include it in the traversal result,
i.e return it from the Traverser . |
<STATE> Evaluation |
TraversalContext.evaluate(TraversalBranch branch,
BranchState<STATE> state)
Evaluates a
TraversalBranch whether or not to include it in the
result and whether or not to continue further down this branch or not. |
static Evaluation |
Evaluation.of(boolean includes,
boolean continues)
|
static Evaluation |
Evaluation.ofContinues(boolean continues)
Returns an
Evaluation for the given continues , meaning
whether or not to continue further down a TraversalBranch in the
traversal. |
static Evaluation |
Evaluation.ofIncludes(boolean includes)
Returns an
Evaluation for the given includes , meaning
whether or not to include a TraversalBranch in the traversal
result or not. |
static Evaluation |
Evaluation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Evaluation[] |
Evaluation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static <STATE> PathEvaluator<STATE> |
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 . |
void |
TraversalBranch.evaluation(Evaluation eval)
Can change evaluation outcome in a negative direction.
|
static <STATE> PathEvaluator<STATE> |
Evaluators.lastRelationshipTypeIs(Evaluation evaluationIfMatch,
Evaluation evaluationIfNoMatch,
RelationshipType type,
RelationshipType... orAnyOfTheseTypes)
|
Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.