org.objectweb.medor.optim.rdb
Class RdbAssignRdbAdapterRule
java.lang.Object
org.objectweb.medor.optim.lib.BasicRule
org.objectweb.medor.optim.rdb.RdbAssignRdbAdapterRule
- All Implemented Interfaces:
- RewriteRule
- public class RdbAssignRdbAdapterRule
- extends BasicRule
- Author:
- S.Chassande-Barrioz
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name2Adapter
protected java.util.Map name2Adapter
RdbAssignRdbAdapterRule
public RdbAssignRdbAdapterRule()
RdbAssignRdbAdapterRule
public RdbAssignRdbAdapterRule(java.util.Map m)
setName2Adapter
public void setName2Adapter(java.util.Map m)
getName2Adapter
public java.util.Map getName2Adapter()
rewrite
public QueryTree rewrite(QueryTree qt,
QueryNode _parent)
throws MedorException
- Description copied from interface:
RewriteRule
- This method applies a single rule.
It is typically called by the
QueryRewriter for applying the entire rewriting process.
- Parameters:
qt
- the QueryTree to be rewritten_parent
- the parent QueryNode for which modification of propagated
field, if they are replaced in the qt, should be done.
- Returns:
- the rewritten QueryTree
- Throws:
MedorException
assignAdapter
protected void assignAdapter(QueryTree qt)
throws MedorException
- Throws:
MedorException