Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.objectweb.medor.optim.lib.BasicRule
org.objectweb.medor.optim.rdb.GroupSameDBRule
Nested Class Summary | |
protected class |
|
Nested classes/interfaces inherited from class org.objectweb.medor.optim.lib.BasicRule | |
BasicRule.ModifiedExpression |
Field Summary |
Method Summary | |
QueryTree |
Methods inherited from class org.objectweb.medor.optim.lib.BasicRule | |
replaceUsage , rewrite |
public QueryTree rewrite(QueryTree qt, QueryNode parent) throws MedorException
Implementation of the RewriteRule interface. It groups together the RdbQueryLeaves if they are on the same data store.
- Specified by:
- rewrite in interface RewriteRule
- Parameters:
qt
- the QueryTree to be rewritten by this rule.
- Returns:
- the rewritten QueryTree
- Throws:
MedorException
- if all RdbQueryLeaves are not on the same data store.
- See Also:
RewriteRule