|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jonas_ejb.lib.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)
constructor of a holder for a specific query. |
Method Summary | |
java.lang.String[] |
getName(java.lang.String id)
get the abstract schema name or collection values path of the given identifier. |
org.objectweb.medor.eval.api.QueryEvaluator |
getOptimizedQueryTree()
Get the query evaluator of the optimized query. |
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 |
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) throws java.lang.Exception
mDesc
- JOnAS meta-information for the corresponding finder/select methodejbql
- root of the lexical tree of the queryMethod Detail |
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 java.lang.String[] getName(java.lang.String id)
public org.objectweb.medor.eval.api.QueryEvaluator getOptimizedQueryTree() throws java.lang.Exception
getJormExtentIterator
method.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |