STATE - the type of state passed into the evaluator.public static class Evaluator.AsPathEvaluator<STATE> extends Object implements PathEvaluator<STATE>
Evaluator as a PathEvaluator.PathEvaluator.Adapter<STATE>Evaluator.AsPathEvaluator<STATE>| Constructor and Description |
|---|
Evaluator.AsPathEvaluator(Evaluator evaluator) |
| 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,
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. |
public Evaluator.AsPathEvaluator(Evaluator evaluator)
public Evaluation evaluate(Path path, BranchState<STATE> state)
PathEvaluatorPath 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.evaluate in interface PathEvaluator<STATE>path - the Path to evaluate.state - the state of this branch in the current traversal.Evaluation containing information about whether or not
to return it from the Traverser and whether or not to continue
down that path.public Evaluation evaluate(Path path)
EvaluatorPath 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.evaluate in interface Evaluatorpath - 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–2015 The Neo4j Graph Database Project. All rights reserved.