org.objectweb.medor.optim.rdb

Class RdbAssignRdbAdapterRule

Implemented Interfaces:
RewriteRule

public class RdbAssignRdbAdapterRule
extends BasicRule

Author:
S.Chassande-Barrioz

Nested Class Summary

Nested classes/interfaces inherited from class org.objectweb.medor.optim.lib.BasicRule

BasicRule.ModifiedExpression

Field Summary

protected Map
name2Adapter

Fields inherited from class org.objectweb.medor.optim.lib.BasicRule

debug, log

Constructor Summary

RdbAssignRdbAdapterRule()
RdbAssignRdbAdapterRule(Map m)

Method Summary

protected void
assignAdapter(QueryTree qt)
Map
getName2Adapter()
QueryTree
rewrite(QueryTree qt, QueryNode _parent)
void
setName2Adapter(Map m)

Methods inherited from class org.objectweb.medor.optim.lib.BasicRule

replaceUsage, rewrite

Field Details

name2Adapter

protected Map name2Adapter

Constructor Details

RdbAssignRdbAdapterRule

public RdbAssignRdbAdapterRule()


RdbAssignRdbAdapterRule

public RdbAssignRdbAdapterRule(Map m)

Method Details

assignAdapter

protected void assignAdapter(QueryTree qt)
            throws MedorException


getName2Adapter

public Map getName2Adapter()


rewrite

public QueryTree rewrite(QueryTree qt,
                         QueryNode _parent)
            throws MedorException
Specified by:
rewrite in interface RewriteRule


setName2Adapter

public void setName2Adapter(Map m)