| org.objectweb.speedo.query.jdo.JDOAbstractCompiledQuery org.objectweb.speedo.query.jdo.JDOCompiledSelectQuery
JDOCompiledSelectQuery | public class JDOCompiledSelectQuery extends JDOAbstractCompiledQuery (Code) | | JDOCompiledQuery object represents a jdo query. This object is created
when a new query is created, and can be used several times. A list of
JDOCompiledQuery is managed with a JDOQueryManager component.
When a user creates a new JDO Query object (SpeedoQuery), a
JDOCompiledQuery object is associated to the JDOQuery object which is
used to delegate some methods.
author: S.Chassande-Barrioz |
compile | public synchronized void compile() throws SpeedoException, MedorException, ExpressionException(Code) | | compile the current SpeedoCompiledQuery.
The query is prepared to be executed.
The PersistenceManager is set (even if there was a previous definition
of a PersistenceManager.
|
executeQT | protected Object executeQT(JDOPOManagerItf pm, ParameterOperand[] pos, QueryDefinition userqd) throws EvaluationException, MedorException, SpeedoException(Code) | | executes a the current query, and returns a Collection of object.
Parameters: userqd - is the user query definition. It contains the range valuesand some other values that can change from the original compiled query. a new Collection of objects. throws: org.objectweb.medor.api.EvaluationException - throws: org.objectweb.medor.api.MedorException - |
Methods inherited from org.objectweb.speedo.query.jdo.JDOAbstractCompiledQuery | public void defineQuery(JDOQueryDefinitionImpl _qd)(Code)(Java Doc) public Object execute(Object[] a, POManagerItf pm, QueryDefinition userqd) throws SpeedoException, MedorException, ExpressionException(Code)(Java Doc) public Object execute(Map m, POManagerItf pm, QueryDefinition userqd) throws SpeedoException, MedorException, ExpressionException(Code)(Java Doc) abstract protected Object executeQT(JDOPOManagerItf pm, ParameterOperand[] pos, QueryDefinition userqd) throws EvaluationException, MedorException, SpeedoException(Code)(Java Doc) protected void flushCache(JDOPOManagerItf pm)(Code)(Java Doc) public Object getCeIdentifier()(Code)(Java Doc) protected Class getClass(String classname)(Code)(Java Doc) public synchronized QueryDefinition getDefinition()(Code)(Java Doc) public void init(Logger l, Logger logParserVar, Logger logParserFil, PMapper m, PrefetchBufferFactory pbf, JormFactory _jf)(Code)(Java Doc) public boolean isPrefetchResult()(Code)(Java Doc) protected QueryTree optimize(QueryTree qt, boolean debug) throws MedorException, ExpressionException(Code)(Java Doc) public void setMapper(PMapper m)(Code)(Java Doc) protected void toHashtableParams(String stringToHash, String separator)(Code)(Java Doc) protected void toHashtableVars(String stringToHash, String separator)(Code)(Java Doc) protected void treatParameter(ParameterOperand po, Object value) throws SpeedoException, ExpressionException(Code)(Java Doc)
|
|
|