|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.objectweb.jonas_ejb.lib.EjbqlQueryTreeHolder
public class EjbqlQueryTreeHolder
Class to hold the query tree of a given EJBQL request. This allows walking the JormExtents of the tree to set the mappers.
| Constructor Summary | |
|---|---|
EjbqlQueryTreeHolder(MethodCmp2Desc mDesc,
ASTEJBQL ejbql,
org.objectweb.jorm.api.PMapper mapper)
constructor of a holder for a specific query. |
|
| Method Summary | |
|---|---|
EjbqlLimiterRange[] |
getLimiterRanges()
|
org.objectweb.medor.eval.api.QueryEvaluator |
getOptimizedQueryTree()
Get the query evaluator of the optimized query. |
int |
getPrefetchIndex()
|
org.objectweb.medor.optim.api.QueryTransformer |
getQueryOptimizer()
get the current query tree optimizer |
org.objectweb.medor.query.api.QueryTree |
getQueryTree()
get the query tree that was built from visiting the lexical tree |
org.objectweb.medor.api.Field |
getResField()
get the Medor result Field of the query (useful for the ejbSelect method) |
void |
setQueryOptimizer(org.objectweb.medor.optim.api.QueryTransformer qtf)
Set the optimizer to be used when optimizing the query tree |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EjbqlQueryTreeHolder(MethodCmp2Desc mDesc,
ASTEJBQL ejbql,
org.objectweb.jorm.api.PMapper mapper)
throws java.lang.Exception
mDesc - JOnAS meta-information for the corresponding finder/select methodejbql - root of the lexical tree of the querymapper - mapper to associate at each leaves of the QueryTree.
The mapper may be null in case of the QueryTree is build in the GenIC phase.
java.lang.Exception| Method Detail |
|---|
public int getPrefetchIndex()
public org.objectweb.medor.query.api.QueryTree getQueryTree()
public void setQueryOptimizer(org.objectweb.medor.optim.api.QueryTransformer qtf)
public org.objectweb.medor.optim.api.QueryTransformer getQueryOptimizer()
public org.objectweb.medor.api.Field getResField()
public EjbqlLimiterRange[] getLimiterRanges()
public org.objectweb.medor.eval.api.QueryEvaluator getOptimizedQueryTree()
throws java.lang.Exception
getJormExtentIterator method.
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||