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

public static class DrillCostBase.DrillCostFactory extends Object implements DrillRelOptCostFactory
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.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
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 interface DrillRelOptCostFactory
    • makeCost

      public org.apache.calcite.plan.RelOptCost makeCost(double dRows, double dCpu, double dIo)
      Specified by:
      makeCost in interface org.apache.calcite.plan.RelOptCostFactory
    • makeHugeCost

      public org.apache.calcite.plan.RelOptCost makeHugeCost()
      Specified by:
      makeHugeCost in interface org.apache.calcite.plan.RelOptCostFactory
    • makeInfiniteCost

      public org.apache.calcite.plan.RelOptCost makeInfiniteCost()
      Specified by:
      makeInfiniteCost in interface org.apache.calcite.plan.RelOptCostFactory
    • makeTinyCost

      public org.apache.calcite.plan.RelOptCost makeTinyCost()
      Specified by:
      makeTinyCost in interface org.apache.calcite.plan.RelOptCostFactory
    • makeZeroCost

      public org.apache.calcite.plan.RelOptCost makeZeroCost()
      Specified by:
      makeZeroCost in interface org.apache.calcite.plan.RelOptCostFactory