org.neo4j.graphdb.traversal
Class PathEvaluator.Adapter<STATE>
java.lang.Object
org.neo4j.graphdb.traversal.PathEvaluator.Adapter<STATE>
- Type Parameters:
STATE -
- All Implemented Interfaces:
- Evaluator, PathEvaluator<STATE>
- Enclosing interface:
- PathEvaluator<STATE>
public abstract static class PathEvaluator.Adapter<STATE>
- extends Object
- implements PathEvaluator<STATE>
Adapter for PathEvaluator.
PathEvaluator.Adapter
public PathEvaluator.Adapter()
evaluate
public Evaluation evaluate(Path path)
- Description copied from interface:
Evaluator
- 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. 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.
- Specified by:
evaluate in interface Evaluator
- Parameters:
path - the Path to evaluate.
- Returns:
- an
Evaluation containing information about whether or not
to return it from the Traverser and whether or not to continue
down that path.
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.