Public Member Functions | |
EjbqlQueryTreeHolder (MethodCmp2Desc mDesc, ASTEJBQL ejbql, PMapper mapper) throws Exception | |
QueryTree | getQueryTree () |
void | setQueryOptimizer (QueryTransformer qtf) |
QueryTransformer | getQueryOptimizer () |
Field | getResField () |
EjbqlLimiterRange[] | getLimiterRanges () |
QueryEvaluator | getOptimizedQueryTree () throws Exception |
Helene Joanin: Take into account the ORDER BY clause.
Sebastien Chassande-Barrioz & Helene Joanin: prefetch code
Helene Joanin: Take into account the aggregate select expression.
Cyrille Blot: Take into account the LIMIT clause
Definition at line 64 of file EjbqlQueryTreeHolder.java.
|
constructor of a holder for a specific query.
Definition at line 89 of file EjbqlQueryTreeHolder.java. References org.objectweb.jonas_ejb.deployment.api.BeanDesc.getDeploymentDesc(), org.objectweb.jonas_ejb.deployment.api.EntityCmp2Desc.getJormClassName(), org.objectweb.jonas_ejb.deployment.api.DeploymentDescEjb2.getJormManager(), and org.objectweb.jonas_ejb.lib.EjbqlSelectVisitor.getQueryTree(). |
Here is the call graph for this function:
|
Definition at line 212 of file EjbqlQueryTreeHolder.java. |
|
Get the query evaluator of the optimized query. The query is optimized on first call. All mappers of the query should have been already set with the help of the iterator returned by the Definition at line 221 of file EjbqlQueryTreeHolder.java. |
|
get the current query tree optimizer Definition at line 198 of file EjbqlQueryTreeHolder.java. Referenced by org.objectweb.jonas_ejb.container.jorm.MedorFactory.getOptimizedRequest(). |
|
get the query tree that was built from visiting the lexical tree Definition at line 183 of file EjbqlQueryTreeHolder.java. |
|
get the Medor result Field of the query (useful for the ejbSelect method) Definition at line 205 of file EjbqlQueryTreeHolder.java. |
|
Set the optimizer to be used when optimizing the query tree Definition at line 190 of file EjbqlQueryTreeHolder.java. Referenced by org.objectweb.jonas_ejb.container.jorm.MedorFactory.getOptimizedRequest(). |