org.objectweb.medor.optim.lib

Class FlattenQueryTreeRule

Implemented Interfaces:
RewriteRule

public class FlattenQueryTreeRule
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

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)

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

replaceUsage, rewrite

Constructor Details

FlattenQueryTreeRule

public FlattenQueryTreeRule()

Method Details

flatten

public QueryTree flatten(QueryNode parent,
                         QueryTree qt)
            throws MedorException


rewrite

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