org.neo4j.kernel.impl.traversal
Class MultiEvaluator
java.lang.Object
org.neo4j.kernel.impl.traversal.MultiEvaluator
- All Implemented Interfaces:
- Evaluator
public class MultiEvaluator
- extends Object
- implements Evaluator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
evaluate
public Evaluation evaluate(Path position)
- 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:
position
- 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.
add
public MultiEvaluator add(Evaluator evaluator)
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.