|
|||||||||||
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.lib.FlattenQueryTreeRule
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 | |
FlattenQueryTreeRule()
|
Method Summary | |
QueryTree |
flatten(QueryNode parent,
QueryTree qt)
|
QueryTree |
rewrite(QueryTree qt,
QueryNode parent)
This method applies a single rule. |
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 FlattenQueryTreeRule()
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
public QueryTree flatten(QueryNode parent, QueryTree qt) throws MedorException
MedorException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |