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.RelOptCost
public boolean isInfinite()
isInfinite
in interface org.apache.calcite.plan.RelOptCost
public double getIo()
getIo
in interface org.apache.calcite.plan.RelOptCost
public boolean isLe(org.apache.calcite.plan.RelOptCost other)
isLe
in interface org.apache.calcite.plan.RelOptCost
public boolean isLt(org.apache.calcite.plan.RelOptCost other)
isLt
in interface org.apache.calcite.plan.RelOptCost
public double getRows()
getRows
in interface org.apache.calcite.plan.RelOptCost
public boolean equals(org.apache.calcite.plan.RelOptCost other)
equals
in interface org.apache.calcite.plan.RelOptCost
public boolean isEqWithEpsilon(org.apache.calcite.plan.RelOptCost other)
isEqWithEpsilon
in interface org.apache.calcite.plan.RelOptCost
public org.apache.calcite.plan.RelOptCost minus(org.apache.calcite.plan.RelOptCost other)
minus
in interface org.apache.calcite.plan.RelOptCost
public org.apache.calcite.plan.RelOptCost multiplyBy(double factor)
multiplyBy
in interface org.apache.calcite.plan.RelOptCost
public double divideBy(org.apache.calcite.plan.RelOptCost cost)
divideBy
in interface org.apache.calcite.plan.RelOptCost
public org.apache.calcite.plan.RelOptCost plus(org.apache.calcite.plan.RelOptCost other)
plus
in interface org.apache.calcite.plan.RelOptCost
Copyright © 2017 The Apache Software Foundation. All rights reserved.