public class HiveCost extends Object implements org.apache.calcite.plan.RelOptCost
| Modifier and Type | Field and Description |
|---|---|
static org.apache.calcite.plan.RelOptCostFactory |
FACTORY |
static HiveCost |
HUGE |
static HiveCost |
INFINITY |
static HiveCost |
TINY |
static HiveCost |
ZERO |
| Modifier and Type | Method and Description |
|---|---|
double |
divideBy(org.apache.calcite.plan.RelOptCost cost) |
boolean |
equals(org.apache.calcite.plan.RelOptCost other) |
double |
getCpu() |
double |
getIo() |
double |
getRows() |
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) |
org.apache.calcite.plan.RelOptCost |
minus(org.apache.calcite.plan.RelOptCost other) |
org.apache.calcite.plan.RelOptCost |
multiplyBy(double factor) |
org.apache.calcite.plan.RelOptCost |
plus(org.apache.calcite.plan.RelOptCost other) |
String |
toString() |
public static final HiveCost INFINITY
public static final HiveCost HUGE
public static final HiveCost ZERO
public static final HiveCost TINY
public static final org.apache.calcite.plan.RelOptCostFactory 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 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 boolean equals(org.apache.calcite.plan.RelOptCost other)
equals in interface org.apache.calcite.plan.RelOptCostpublic boolean isEqWithEpsilon(org.apache.calcite.plan.RelOptCost other)
isEqWithEpsilon in interface org.apache.calcite.plan.RelOptCostpublic org.apache.calcite.plan.RelOptCost minus(org.apache.calcite.plan.RelOptCost other)
minus in interface org.apache.calcite.plan.RelOptCostpublic org.apache.calcite.plan.RelOptCost 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 org.apache.calcite.plan.RelOptCost plus(org.apache.calcite.plan.RelOptCost other)
plus in interface org.apache.calcite.plan.RelOptCostCopyright © 2019 The Apache Software Foundation. All Rights Reserved.