public final class RuleChooseDependent extends Object implements OptimizerRule
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_INDEPENDENT_CARDINALITY |
static int |
UNKNOWN_INDEPENDENT_CARDINALITY |
| Constructor and Description |
|---|
RuleChooseDependent() |
RuleChooseDependent(boolean b) |
| Modifier and Type | Method and Description |
|---|---|
PlanNode |
execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context) |
static PlanNode |
getDependentCriteriaNode(String id,
List<Expression> independentExpressions,
List<Expression> dependentExpressions,
PlanNode indNode,
QueryMetadataInterface metadata,
NewCalculateCostUtil.DependentCostAnalysis dca,
Boolean bound,
Option.MakeDep makeDep) |
static String |
nextId() |
String |
toString() |
public static final int DEFAULT_INDEPENDENT_CARDINALITY
public static final int UNKNOWN_INDEPENDENT_CARDINALITY
public RuleChooseDependent()
public RuleChooseDependent(boolean b)
public PlanNode execute(PlanNode plan, QueryMetadataInterface metadata, CapabilitiesFinder capFinder, RuleStack rules, AnalysisRecord analysisRecord, CommandContext context) throws QueryPlannerException, QueryMetadataException, TeiidComponentException
execute in interface OptimizerRuleQueryPlannerExceptionQueryMetadataExceptionTeiidComponentExceptionpublic static String nextId()
public static PlanNode getDependentCriteriaNode(String id, List<Expression> independentExpressions, List<Expression> dependentExpressions, PlanNode indNode, QueryMetadataInterface metadata, NewCalculateCostUtil.DependentCostAnalysis dca, Boolean bound, Option.MakeDep makeDep) throws QueryMetadataException, TeiidComponentException
independentExpressions - dependentExpressions - makeDep - TeiidComponentExceptionQueryMetadataExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.