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

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

public class RulePlanUnions
extends java.lang.Object
implements OptimizerRule

Organizes union branches so that push down is possible. This does not check to actually ensure that push down will happen.


Constructor Summary
RulePlanUnions()
           
 
Method Summary
 PlanNode execute(PlanNode plan, QueryMetadataInterface metadata, CapabilitiesFinder capabilitiesFinder, 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

RulePlanUnions

public RulePlanUnions()
Method Detail

execute

public PlanNode execute(PlanNode plan,
                        QueryMetadataInterface metadata,
                        CapabilitiesFinder capabilitiesFinder,
                        RuleStack rules,
                        AnalysisRecord analysisRecord,
                        CommandContext context)
                 throws QueryPlannerException,
                        QueryMetadataException,
                        MetaMatrixComponentException
Specified by:
execute in interface OptimizerRule
Throws:
QueryPlannerException
QueryMetadataException
MetaMatrixComponentException
See Also:
OptimizerRule.execute(com.metamatrix.query.optimizer.relational.plantree.PlanNode, com.metamatrix.query.metadata.QueryMetadataInterface, com.metamatrix.query.optimizer.capabilities.CapabilitiesFinder, com.metamatrix.query.optimizer.relational.RuleStack, com.metamatrix.query.analysis.AnalysisRecord, com.metamatrix.query.util.CommandContext)

toString

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


Copyright © 2009. All Rights Reserved.