|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.medor.optim.rdb.GroupSameDBRule
This class groups together as a single RbdExpQueryLeaf the RdbQueryLeaves working on the same data store. TODO: Known limitation : This rule does not reorganize a QueryTree Another rule should be developed to put close together leaves working on the same data store.
Nested Class Summary | |
protected class |
GroupSameDBRule.RdbQuery
The RdbQuery class represents the result of rewriting a QueryTree. |
Constructor Summary | |
GroupSameDBRule()
|
Method Summary | |
QueryTree |
rewrite(QueryTree qt)
Implementation of the RewriteRule interface. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GroupSameDBRule()
Method Detail |
public QueryTree rewrite(QueryTree qt) throws MedorException
It groups together the RdbQueryLeaves if they are on the same data store.
rewrite
in interface RewriteRule
qt
- the QueryTree to be rewritten by this rule.
MedorException
- if all RdbQueryLeaves are not on the same data
store.RewriteRule
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |