|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> sql >> [ compile overview ] | PREV NEXT | ||||||||
Uses of Interface
org.apache.derby.iapi.sql.compile.CostEstimate
| Uses of CostEstimate in org.apache.derby.iapi.sql.compile |
| Methods in org.apache.derby.iapi.sql.compile that return CostEstimate | |
CostEstimate |
OptimizerFactory.getCostEstimate()
Return a new CostEstimate. |
CostEstimate |
Optimizer.newCostEstimate()
Get a new CostEstimate object |
CostEstimate |
Optimizer.getOptimizedCost()
Get the estimated cost of the optimized query |
CostEstimate |
Optimizable.optimizeIt(Optimizer optimizer,
OptimizablePredicateList predList,
CostEstimate outerCost,
RowOrdering rowOrdering)
Choose the best access path for this Optimizable. |
CostEstimate |
Optimizable.estimateCost(OptimizablePredicateList predList,
org.apache.derby.iapi.sql.dictionary.ConglomerateDescriptor cd,
CostEstimate outerCost,
Optimizer optimizer,
RowOrdering rowOrdering)
Estimate the cost of scanning this Optimizable using the given predicate list with the given conglomerate. |
CostEstimate |
CostEstimate.add(CostEstimate addend,
CostEstimate retval)
Add this cost estimate to another one. |
CostEstimate |
CostEstimate.multiply(double multiplicand,
CostEstimate retval)
Multiply this cost estimate by a scalar, non-dimensional number. |
CostEstimate |
CostEstimate.divide(double divisor,
CostEstimate retval)
Divide this cost estimate by a scalar, non-dimensional number. |
CostEstimate |
CostEstimate.cloneMe()
Get a copy of this CostEstimate |
CostEstimate |
AccessPath.getCostEstimate()
Get the cost estimate for this AccessPath. |
| Methods in org.apache.derby.iapi.sql.compile with parameters of type CostEstimate | |
void |
RequiredRowOrdering.estimateCost(double estimatedInputRows,
RowOrdering rowOrdering,
CostEstimate resultCost)
Estimate the cost of doing a sort for this row ordering, given the number of rows to be sorted. |
void |
Optimizer.costOptimizable(Optimizable optimizable,
org.apache.derby.iapi.sql.dictionary.TableDescriptor td,
org.apache.derby.iapi.sql.dictionary.ConglomerateDescriptor cd,
OptimizablePredicateList predList,
CostEstimate outerCost)
Cost the current Optimizable with the specified OPL. |
void |
Optimizer.considerCost(Optimizable optimizable,
OptimizablePredicateList predList,
CostEstimate estimatedCost,
CostEstimate outerCost)
Consider the cost of the given optimizable. |
CostEstimate |
Optimizable.optimizeIt(Optimizer optimizer,
OptimizablePredicateList predList,
CostEstimate outerCost,
RowOrdering rowOrdering)
Choose the best access path for this Optimizable. |
CostEstimate |
Optimizable.estimateCost(OptimizablePredicateList predList,
org.apache.derby.iapi.sql.dictionary.ConglomerateDescriptor cd,
CostEstimate outerCost,
Optimizer optimizer,
RowOrdering rowOrdering)
Estimate the cost of scanning this Optimizable using the given predicate list with the given conglomerate. |
void |
JoinStrategy.estimateCost(Optimizable innerTable,
OptimizablePredicateList predList,
org.apache.derby.iapi.sql.dictionary.ConglomerateDescriptor cd,
CostEstimate outerCost,
Optimizer optimizer,
CostEstimate costEstimate)
Get the estimated cost for the join. |
void |
CostEstimate.setCost(CostEstimate other)
Copy the values from the given cost estimate into this one. |
double |
CostEstimate.compare(CostEstimate other)
Compare this cost estimate with the given cost estimate. |
CostEstimate |
CostEstimate.add(CostEstimate addend,
CostEstimate retval)
Add this cost estimate to another one. |
CostEstimate |
CostEstimate.multiply(double multiplicand,
CostEstimate retval)
Multiply this cost estimate by a scalar, non-dimensional number. |
CostEstimate |
CostEstimate.divide(double divisor,
CostEstimate retval)
Divide this cost estimate by a scalar, non-dimensional number. |
void |
AccessPath.setCostEstimate(CostEstimate costEstimate)
Set the given cost estimate in this AccessPath. |
|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> sql >> [ compile overview ] | PREV NEXT | ||||||||