Class BeamCostModel.Factory
- java.lang.Object
-
- org.apache.beam.sdk.extensions.sql.impl.planner.BeamCostModel.Factory
-
- All Implemented Interfaces:
org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelOptCostFactory
- Enclosing class:
- BeamCostModel
public static class BeamCostModel.Factory extends java.lang.Object implements org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelOptCostFactoryImplementation ofRelOptCostFactorythat createsBeamCostModels.
-
-
Constructor Summary
Constructors Constructor Description Factory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BeamCostModelmakeCost(double dCpu, double dCpuRate)BeamCostModelmakeCost(double dRows, double dCpu, double dIo)BeamCostModelmakeHugeCost()BeamCostModelmakeInfiniteCost()BeamCostModelmakeTinyCost()BeamCostModelmakeZeroCost()
-
-
-
Method Detail
-
makeCost
public BeamCostModel makeCost(double dRows, double dCpu, double dIo)
- Specified by:
makeCostin interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelOptCostFactory
-
makeCost
public BeamCostModel makeCost(double dCpu, double dCpuRate)
-
makeHugeCost
public BeamCostModel makeHugeCost()
- Specified by:
makeHugeCostin interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelOptCostFactory
-
makeInfiniteCost
public BeamCostModel makeInfiniteCost()
- Specified by:
makeInfiniteCostin interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelOptCostFactory
-
makeTinyCost
public BeamCostModel makeTinyCost()
- Specified by:
makeTinyCostin interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelOptCostFactory
-
makeZeroCost
public BeamCostModel makeZeroCost()
- Specified by:
makeZeroCostin interfaceorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.plan.RelOptCostFactory
-
-