|
Neo4j Enterprise | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Evaluation | |
---|---|
org.neo4j.graphdb.traversal | Traversal framework. |
Uses of Evaluation in org.neo4j.graphdb.traversal |
---|
Methods in org.neo4j.graphdb.traversal that return Evaluation | |
---|---|
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 |
TraversalContext.evaluate(TraversalBranch branch)
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)
Returns an Evaluation for the given includes and
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. |
Methods in org.neo4j.graphdb.traversal with parameters of type Evaluation | |
---|---|
static Evaluator |
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 Evaluator |
Evaluators.lastRelationshipTypeIs(Evaluation evaluationIfMatch,
Evaluation evaluationIfNoMatch,
RelationshipType type,
RelationshipType... orAnyOfTheseTypes)
Returns an Evaluator which compares the type of the last relationship
in a Path to a given set of relationship types (one or more).If the type of
the last relationship in a path is of one of the given types then
evaluationIfMatch will be returned, otherwise
evaluationIfNoMatch will be returned. |
|
Neo4j Enterprise | |||||||||
PREV NEXT | FRAMES NO FRAMES |