com.metamatrix.query.optimizer.relational.rules
Class RuleRemoveSorts

java.lang.Object
  extended by com.metamatrix.query.optimizer.relational.rules.RuleRemoveSorts
All Implemented Interfaces:
OptimizerRule

public final class RuleRemoveSorts
extends java.lang.Object
implements OptimizerRule

Removes all nested sorts that are not under a limit. These sorts are considered unnecessary since inline views and virtual layers represent unordered tuple sets.


Constructor Summary
RuleRemoveSorts()
           
 
Method Summary
 PlanNode execute(PlanNode plan, QueryMetadataInterface metadata, CapabilitiesFinder capFinder, RuleStack rules, AnalysisRecord analysisRecord, CommandContext context)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RuleRemoveSorts

public RuleRemoveSorts()
Method Detail

execute

public PlanNode execute(PlanNode plan,
                        QueryMetadataInterface metadata,
                        CapabilitiesFinder capFinder,
                        RuleStack rules,
                        AnalysisRecord analysisRecord,
                        CommandContext context)
Specified by:
execute in interface OptimizerRule

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2009. All Rights Reserved.