org.objectweb.medor.eval.api
Interface NodeEvaluatorFactory
- IteratifNodeEvaluatorFactory
public interface NodeEvaluatorFactory
This interface creates the controller object for the evaluation of a given
QueryNode within a QueryTree.
createNodeEvaluator
public NodeEvaluator createNodeEvaluator(QueryNode node,
NodeEvaluator[] subEvaluators,
EvaluationMetaData evaluationMetaData)
throws MedorException
This methods creates a NodeEvaluator.
It chooses the right implementation depending on the type of operation,
the EvaluationMetaData associated to the QueryNode.
It does not create NodeEvaluators for the children QueryNodes of the
parameter QueryNode. It is up to the Evaluator to call the Factory
for creating NodeEvaluators for the subnodes.