Package org.apache.calcite.plan.volcano
Class VolcanoCost.Factory
- java.lang.Object
-
- org.apache.calcite.plan.volcano.VolcanoCost.Factory
-
- All Implemented Interfaces:
RelOptCostFactory
- Enclosing class:
- VolcanoCost
private static class VolcanoCost.Factory extends java.lang.Object implements RelOptCostFactory
Implementation ofRelOptCostFactory
that createsVolcanoCost
s.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Factory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RelOptCost
makeCost(double dRows, double dCpu, double dIo)
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
public RelOptCost makeCost(double dRows, double dCpu, double dIo)
Description copied from interface:RelOptCostFactory
Creates a cost object.- Specified by:
makeCost
in interfaceRelOptCostFactory
-
makeHugeCost
public RelOptCost makeHugeCost()
Description copied from interface:RelOptCostFactory
Creates a cost object representing an enormous non-infinite cost.- Specified by:
makeHugeCost
in interfaceRelOptCostFactory
-
makeInfiniteCost
public RelOptCost makeInfiniteCost()
Description copied from interface:RelOptCostFactory
Creates a cost object representing infinite cost.- Specified by:
makeInfiniteCost
in interfaceRelOptCostFactory
-
makeTinyCost
public RelOptCost makeTinyCost()
Description copied from interface:RelOptCostFactory
Creates a cost object representing a small positive cost.- Specified by:
makeTinyCost
in interfaceRelOptCostFactory
-
makeZeroCost
public RelOptCost makeZeroCost()
Description copied from interface:RelOptCostFactory
Creates a cost object representing zero cost.- Specified by:
makeZeroCost
in interfaceRelOptCostFactory
-
-