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_28_0.org.apache.calcite.plan.RelOptCostFactory
Enclosing class:
BeamCostModel

public static class BeamCostModel.Factory extends Object implements org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelOptCostFactory
Implementation of RelOptCostFactory that creates BeamCostModels.
  • Constructor Details

    • Factory

      public Factory()
  • Method Details

    • makeCost

      public BeamCostModel makeCost(double dRows, double dCpu, double dIo)
      Specified by:
      makeCost in interface org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelOptCostFactory
    • makeCost

      public BeamCostModel makeCost(double dCpu, double dCpuRate)
    • makeHugeCost

      public BeamCostModel makeHugeCost()
      Specified by:
      makeHugeCost in interface org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelOptCostFactory
    • makeInfiniteCost

      public BeamCostModel makeInfiniteCost()
      Specified by:
      makeInfiniteCost in interface org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelOptCostFactory
    • makeTinyCost

      public BeamCostModel makeTinyCost()
      Specified by:
      makeTinyCost in interface org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelOptCostFactory
    • makeZeroCost

      public BeamCostModel makeZeroCost()
      Specified by:
      makeZeroCost in interface org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelOptCostFactory