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

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

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

Finds nodes that can be turned into dependent joins


Field Summary
static int DEFAULT_INDEPENDENT_CARDINALITY
           
 
Constructor Summary
RuleChooseDependent()
           
 
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
 

Field Detail

DEFAULT_INDEPENDENT_CARDINALITY

public static final int DEFAULT_INDEPENDENT_CARDINALITY
See Also:
Constant Field Values
Constructor Detail

RuleChooseDependent

public RuleChooseDependent()
Method Detail

execute

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

toString

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


Copyright © 2009. All Rights Reserved.