public class BeamCostModel
extends java.lang.Object
implements org.apache.calcite.plan.RelOptCost
VolcanoCost represents the cost of a plan node.
 This class is immutable: none of the methods modify any member variables.
| Modifier and Type | Class and Description | 
|---|---|
| static class  | BeamCostModel.FactoryImplementation of  RelOptCostFactorythat createsBeamCostModels. | 
| Modifier and Type | Field and Description | 
|---|---|
| static BeamCostModel.Factory | FACTORY | 
| Modifier and Type | Method and Description | 
|---|---|
| static BeamCostModel | convertRelOptCost(org.apache.calcite.plan.RelOptCost ic) | 
| double | divideBy(org.apache.calcite.plan.RelOptCost cost) | 
| boolean | equals(java.lang.Object obj) | 
| boolean | equals(org.apache.calcite.plan.RelOptCost other) | 
| double | getCpu() | 
| double | getCpuRate() | 
| double | getIo() | 
| double | getRows() | 
| int | hashCode() | 
| boolean | isEqWithEpsilon(org.apache.calcite.plan.RelOptCost other) | 
| boolean | isInfinite() | 
| boolean | isLe(org.apache.calcite.plan.RelOptCost other) | 
| boolean | isLt(org.apache.calcite.plan.RelOptCost other) | 
| BeamCostModel | minus(org.apache.calcite.plan.RelOptCost other) | 
| BeamCostModel | multiplyBy(double factor) | 
| BeamCostModel | plus(org.apache.calcite.plan.RelOptCost other) | 
| java.lang.String | toString() | 
public static final BeamCostModel.Factory FACTORY
public double getCpu()
getCpu in interface org.apache.calcite.plan.RelOptCostpublic boolean isInfinite()
isInfinite in interface org.apache.calcite.plan.RelOptCostpublic double getIo()
getIo in interface org.apache.calcite.plan.RelOptCostpublic double getCpuRate()
public boolean isLe(org.apache.calcite.plan.RelOptCost other)
isLe in interface org.apache.calcite.plan.RelOptCostpublic boolean isLt(org.apache.calcite.plan.RelOptCost other)
isLt in interface org.apache.calcite.plan.RelOptCostpublic double getRows()
getRows in interface org.apache.calcite.plan.RelOptCostpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(org.apache.calcite.plan.RelOptCost other)
equals in interface org.apache.calcite.plan.RelOptCostpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic boolean isEqWithEpsilon(org.apache.calcite.plan.RelOptCost other)
isEqWithEpsilon in interface org.apache.calcite.plan.RelOptCostpublic BeamCostModel minus(org.apache.calcite.plan.RelOptCost other)
minus in interface org.apache.calcite.plan.RelOptCostpublic BeamCostModel multiplyBy(double factor)
multiplyBy in interface org.apache.calcite.plan.RelOptCostpublic double divideBy(org.apache.calcite.plan.RelOptCost cost)
divideBy in interface org.apache.calcite.plan.RelOptCostpublic BeamCostModel plus(org.apache.calcite.plan.RelOptCost other)
plus in interface org.apache.calcite.plan.RelOptCostpublic java.lang.String toString()
toString in interface org.apache.calcite.plan.RelOptCosttoString in class java.lang.Objectpublic static BeamCostModel convertRelOptCost(org.apache.calcite.plan.RelOptCost ic)