Class DrillCostBase.DrillCostFactory
java.lang.Object
org.apache.drill.exec.planner.cost.DrillCostBase.DrillCostFactory
- All Implemented Interfaces:
org.apache.calcite.plan.RelOptCostFactory
,DrillRelOptCostFactory
- Enclosing class:
- DrillCostBase
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.calcite.plan.RelOptCost
makeCost
(double dRows, double dCpu, double dIo) org.apache.calcite.plan.RelOptCost
makeCost
(double dRows, double dCpu, double dIo, double dNetwork) Creates a cost object.org.apache.calcite.plan.RelOptCost
makeCost
(double dRows, double dCpu, double dIo, double dNetwork, double dMemory) org.apache.calcite.plan.RelOptCost
org.apache.calcite.plan.RelOptCost
org.apache.calcite.plan.RelOptCost
org.apache.calcite.plan.RelOptCost
-
Constructor Details
-
DrillCostFactory
public DrillCostFactory()
-
-
Method Details
-
makeCost
public org.apache.calcite.plan.RelOptCost makeCost(double dRows, double dCpu, double dIo, double dNetwork, double dMemory) -
makeCost
public org.apache.calcite.plan.RelOptCost makeCost(double dRows, double dCpu, double dIo, double dNetwork) Description copied from interface:DrillRelOptCostFactory
Creates a cost object.- Specified by:
makeCost
in interfaceDrillRelOptCostFactory
-
makeCost
public org.apache.calcite.plan.RelOptCost makeCost(double dRows, double dCpu, double dIo) - Specified by:
makeCost
in interfaceorg.apache.calcite.plan.RelOptCostFactory
-
makeHugeCost
public org.apache.calcite.plan.RelOptCost makeHugeCost()- Specified by:
makeHugeCost
in interfaceorg.apache.calcite.plan.RelOptCostFactory
-
makeInfiniteCost
public org.apache.calcite.plan.RelOptCost makeInfiniteCost()- Specified by:
makeInfiniteCost
in interfaceorg.apache.calcite.plan.RelOptCostFactory
-
makeTinyCost
public org.apache.calcite.plan.RelOptCost makeTinyCost()- Specified by:
makeTinyCost
in interfaceorg.apache.calcite.plan.RelOptCostFactory
-
makeZeroCost
public org.apache.calcite.plan.RelOptCost makeZeroCost()- Specified by:
makeZeroCost
in interfaceorg.apache.calcite.plan.RelOptCostFactory
-