Package org.apache.calcite.plan
Interface RelOptCostFactory
-
- All Known Implementing Classes:
RelOptCostImpl.Factory
,VolcanoCost.Factory
public interface RelOptCostFactory
Cost model for query planning.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RelOptCost
makeCost(double rowCount, double cpu, double io)
Creates a cost object.RelOptCost
makeHugeCost()
Creates a cost object representing an enormous non-infinite cost.RelOptCost
makeInfiniteCost()
Creates a cost object representing infinite cost.RelOptCost
makeTinyCost()
Creates a cost object representing a small positive cost.RelOptCost
makeZeroCost()
Creates a cost object representing zero cost.
-
-
-
Method Detail
-
makeCost
RelOptCost makeCost(double rowCount, double cpu, double io)
Creates a cost object.
-
makeHugeCost
RelOptCost makeHugeCost()
Creates a cost object representing an enormous non-infinite cost.
-
makeInfiniteCost
RelOptCost makeInfiniteCost()
Creates a cost object representing infinite cost.
-
makeTinyCost
RelOptCost makeTinyCost()
Creates a cost object representing a small positive cost.
-
makeZeroCost
RelOptCost makeZeroCost()
Creates a cost object representing zero cost.
-
-