| java.lang.Object org.objectweb.speedo.query.jdo.JDOQueryEvalContext
JDOQueryEvalContext | public class JDOQueryEvalContext (Code) | | Represent a Medor query executed for a JDO query. It contains the query, the
evaluator, a link to the SpeedoCompiledQuery and some information about
the data prefetching. A JDO can correspond to several Medor query in case of
inheritance for example.
author: S.Chassande-Barrioz |
evaluator | public QueryEvaluator evaluator(Code) | | the evaluator of the query
|
pcm | public PClassMapping pcm(Code) | | the PClassMapping of the prefetched class
|
pnIndex | public int pnIndex(Code) | | is the index of the identifier (prefetch index too)
|
query | public QueryTree query(Code) | | The medor querytree representing the query
|
JDOQueryEvalContext | public JDOQueryEvalContext(QueryTree qt, JDOCompiledSelectQuery sqc)(Code) | | Parameters: qt - is the medor querytree representing the query Parameters: sqc - is the original speedo compiled query |
eval | public TupleCollection eval(JDOPOManagerItf pm, ParameterOperand[] pos, Object connection, QueryDefinition userqd) throws MedorException(Code) | | Executes the sub query
Parameters: pm - is the current persistence manager Parameters: pos - is the parameter of the query Parameters: connection - is the way to reach the persistence support a TupleCollection containing the result throws: MedorException - |
posToString | protected String posToString(ParameterOperand[] pos)(Code) | | Produces a String representation of parameter for logging.
|
|
|