Package | Description |
---|---|
org.teiid.query.optimizer.relational.rules |
Modifier and Type | Method and Description |
---|---|
static NewCalculateCostUtil.DependentCostAnalysis |
NewCalculateCostUtil.computeCostForDepJoin(PlanNode joinNode,
boolean leftIndependent,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
CommandContext context)
Computes the cost of a Dependent Join
The worst possible cost will arise from a high independent ndv (many dependent sets) and a low dependent ndv (possibly many matches per set)
This logic uses the same assumption as criteria in that ndv is used as a divisor of cardinality.
|
static NewCalculateCostUtil.DependentCostAnalysis |
NewCalculateCostUtil.computeCostForDepJoin(PlanNode independentNode,
PlanNode dependentNode,
List independentExpressions,
List dependentExpressions,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
CommandContext context) |
Modifier and Type | Method and Description |
---|---|
static PlanNode |
RuleChooseDependent.getDependentCriteriaNode(String id,
List<Expression> independentExpressions,
List<Expression> dependentExpressions,
PlanNode indNode,
QueryMetadataInterface metadata,
NewCalculateCostUtil.DependentCostAnalysis dca,
Boolean bound,
Option.MakeDep makeDep) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.