public interface Evaluator
Path
and decides whether or not it
should be included in the traversal result. It also decides whether the traverser
should continue down that path or if it should be pruned so that the traverser
won't continue down that path.Evaluation
,
Evaluators
,
TraversalDescription.evaluator(Evaluator)
Modifier and Type | Interface and Description |
---|---|
static class |
Evaluator.AsPathEvaluator<STATE>
Exposes an
Evaluator as a PathEvaluator . |
Modifier and Type | Method and Description |
---|---|
Evaluation |
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 evaluate(Path path)
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
. And also whether or not to
continue traversing down that path
or if it instead should be
pruned so that the traverser won't continue down that branch represented
by path
.path
- the Path
to evaluate.Evaluation
containing information about whether or not
to return it from the Traverser
and whether or not to continue
down that path.Copyright © 2002–2016 The Neo4j Graph Database Project. All rights reserved.