org.objectweb.medor.eval.lib
Class MedorEvaluator
java.lang.Object
org.objectweb.medor.eval.lib.MedorEvaluator
- QueryEvaluator
public class MedorEvaluator
extends java.lang.Object
This class is a simple evaluator of query tree, supporting the data
prefetching
- S.Chassande-Barrioz
evaluate
public TupleCollection evaluate(ParameterOperand[] parameters,
ConnectionResources resources,
Map evaluationMDMap)
throws EvaluationException
First, it allocates a tree of Evaluator (Wrapper or NodeEvaluator) for
the query tree associated to this evaluator. In a second step it launches
the evalution of the query.
- evaluate in interface QueryEvaluator
parameters
- is the array of parametersresources
- is the holder of connection used by the wrapper to
access the data support.
evaluate
public TupleCollection evaluate(ParameterOperand[] parameters,
ConnectionResources resources,
PrefetchBuffer prefetchBuffer,
Map evalMDMap)
throws EvaluationException
- evaluate in interface QueryEvaluator
parameters
- is a ConnectionResources containing associations between
the DataStore names used in the QueryTree and the connection objects to
use for the evaluation.prefetchBuffer
- is the prefetchBuffer instance where buffer data
must be put. If this field is null, then no data prefetching mus be done.