org.objectweb.medor.eval.lib

Class IteratifNodeEvaluatorFactory

Implemented Interfaces:
NodeEvaluatorFactory

public class IteratifNodeEvaluatorFactory
extends java.lang.Object
implements NodeEvaluatorFactory

This class manage creation the iteratifs NodeEvaluators corresponding to QueryNodes. The method createNodeEvaluator is able to generate a NodeEvaluator for a Binary QueryNode and for Unary QueryNode, otherwise it throws a MedorException

Method Summary

NodeEvaluator
createNodeEvaluator(QueryNode node, NodeEvaluator[] subEvaluators, EvaluationMetaData evalMD)

Method Details

createNodeEvaluator

public NodeEvaluator createNodeEvaluator(QueryNode node,
                                         NodeEvaluator[] subEvaluators,
                                         EvaluationMetaData evalMD)
            throws MedorException
Specified by:
createNodeEvaluator in interface NodeEvaluatorFactory