Package org.apache.calcite.plan
Interface RelOptCostFactory
public interface RelOptCostFactory
Cost model for query planning.
-
Method Summary
Modifier and TypeMethodDescriptionmakeCost
(double rowCount, double cpu, double io) Creates a cost object.Creates a cost object representing an enormous non-infinite cost.Creates a cost object representing infinite cost.Creates a cost object representing a small positive cost.Creates a cost object representing zero cost.
-
Method Details
-
makeCost
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.
-