|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents the MEDOR evaluator. It permits to evaluate an evaluable (optimized) query Tree.
Method Summary | |
---|---|
TupleCollection |
evaluate(ParameterOperand[] parameters,
ConnectionResources ressources,
java.util.Map evalMDMap)
Launch the evaluation of a query. |
TupleCollection |
evaluate(ParameterOperand[] parameters,
ConnectionResources ressources,
PrefetchBuffer pb,
java.util.Map evalMDMap)
Launch the evaluation of a query. |
long |
getCacheSize()
|
QueryTree |
getQueryTree()
|
ConnectionResources |
getRequiredConnectionResources()
|
WrapperFactory |
getWrapperFactory()
Returns the associated WrapperFactory. |
Method Detail |
public TupleCollection evaluate(ParameterOperand[] parameters, ConnectionResources ressources, java.util.Map evalMDMap) throws EvaluationException
parameters
- is the array of query parameter (never null).ressources
- is a ConnectionResources containing associations between
the DataStore names used in the QueryTree and the connection objects to
use for the evaluation. It can be null.evalMDMap
- contains a map associating an EvaluationMetaData object
to each of the query nodes of the query tree currently associated to the
QueryEvaluator.
EvaluationException
public TupleCollection evaluate(ParameterOperand[] parameters, ConnectionResources ressources, PrefetchBuffer pb, java.util.Map evalMDMap) throws EvaluationException
parameters
- is the array of query parameter (Never null).ressources
- is a ConnectionResources containing associations between
the DataStore names used in the QueryTree and the connection objects to
use for the evaluation.It can be null.pb
- is the prefetch buffer which must be fill with query results.
If this parameter is null then no data prefetching is done.
EvaluationException
public ConnectionResources getRequiredConnectionResources()
public long getCacheSize()
public QueryTree getQueryTree()
public WrapperFactory getWrapperFactory()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |