|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.medor.optim.lib.BasicRule
org.objectweb.medor.optim.jorm.JormRule
org.objectweb.medor.optim.jorm.Jorm2Rdb
This rules transforms a QueryTree built on top of JORM Extents into a QueryTree built on top of RdbExpQueryLeaves.
It handles cases where there are Nest QueryNodes, and relies on the JormFlatten2Rdb rule for the rest of the QueryTree.
Nested Class Summary |
Nested classes inherited from class org.objectweb.medor.optim.lib.BasicRule |
BasicRule.ModifiedExpression |
Field Summary |
Fields inherited from class org.objectweb.medor.optim.lib.BasicRule |
debug, log |
Constructor Summary | |
Jorm2Rdb()
|
Method Summary | |
QueryTree |
rewrite(QueryTree qt,
QueryNode parent)
This method applies a single rule. |
Methods inherited from class org.objectweb.medor.optim.jorm.JormRule |
getClassMapping, getGenClassMapping, getJORMFieldName, getPEM, getPNCOperand, getPrimitiveElement |
Methods inherited from class org.objectweb.medor.optim.lib.BasicRule |
replaceUsage, rewrite |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Jorm2Rdb()
Method Detail |
public QueryTree rewrite(QueryTree qt, QueryNode parent) throws MedorException
RewriteRule
It is typically called by the QueryRewriter for applying the entire rewriting process.
qt
- the QueryTree to be rewrittenparent
- the parent QueryNode for which modification of propagated
field, if they are replaced in the qt, should be done.
MedorException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |