| java.lang.Object org.objectweb.speedo.query.lib.AbstractCompiledQuery org.objectweb.speedo.query.jdo.JDOAbstractCompiledQuery
All known Subclasses: org.objectweb.speedo.query.jdo.JDOCompiledSelectQuery, org.objectweb.speedo.query.jdo.JDOCompiledDeleteQuery,
Method Summary | |
public void | defineQuery(JDOQueryDefinitionImpl _qd) | public Object | execute(Object[] a, POManagerItf pm, QueryDefinition userqd) evaluate the query with a single parameter which is a array of object
parameters. | public Object | execute(Map m, POManagerItf pm, QueryDefinition userqd) evaluate the query with a single parameter which is a Map of object parameters. | abstract protected Object | executeQT(JDOPOManagerItf pm, ParameterOperand[] pos, QueryDefinition userqd) | protected void | flushCache(JDOPOManagerItf pm) | public Object | getCeIdentifier() | protected Class | getClass(String classname) | public synchronized QueryDefinition | getDefinition() | public void | init(Logger l, Logger logParserVar, Logger logParserFil, PMapper m, PrefetchBufferFactory pbf, JormFactory _jf) | public boolean | isPrefetchResult() | protected QueryTree | optimize(QueryTree qt, boolean debug) | public void | setMapper(PMapper m) | protected void | toHashtableParams(String stringToHash, String separator) | protected void | toHashtableVars(String stringToHash, String separator) | protected void | treatParameter(ParameterOperand po, Object value) |
filterParserLogger | protected Logger filterParserLogger(Code) | | |
hparams | protected Map hparams(Code) | | vparams, hparams and hvars are internal objects to manipulate the list of
parameters, and the list of variables.
|
paramName2paramClass | protected Map paramName2paramClass(Code) | | |
varParserlogger | protected Logger varParserlogger(Code) | | |
execute | public Object execute(Object[] a, POManagerItf pm, QueryDefinition userqd) throws SpeedoException, MedorException, ExpressionException(Code) | | evaluate the query with a single parameter which is a array of object
parameters.
Parameters: pm - the persistence manager object Parameters: a - the array parameter of the query a Collection of result objects throws: org.objectweb.medor.api.EvaluationException - throws: org.objectweb.medor.api.MedorException - |
execute | public Object execute(Map m, POManagerItf pm, QueryDefinition userqd) throws SpeedoException, MedorException, ExpressionException(Code) | | evaluate the query with a single parameter which is a Map of object parameters.
Parameters: pm - the persistence manager object Parameters: m - the map parameter of the query a Collection of result objects throws: org.objectweb.medor.api.EvaluationException - throws: org.objectweb.medor.api.MedorException - |
init | public void init(Logger l, Logger logParserVar, Logger logParserFil, PMapper m, PrefetchBufferFactory pbf, JormFactory _jf)(Code) | | |
isPrefetchResult | public boolean isPrefetchResult()(Code) | | |
optimize | protected QueryTree optimize(QueryTree qt, boolean debug) throws MedorException, ExpressionException(Code) | | |
setMapper | public void setMapper(PMapper m)(Code) | | |
toHashtableParams | protected void toHashtableParams(String stringToHash, String separator)(Code) | | Hash a String, and compute a Hashtable
example:
("String name, Float salary, Employee boss", ",")
keys | values
---------------------
"name" | "String"
"salary" | "Float"
"boss" | "Employee"
Parameters: stringToHash - the String to hash Parameters: separator - the separator to tokenize |
toHashtableVars | protected void toHashtableVars(String stringToHash, String separator)(Code) | | |
|
|