public static class HiveDefaultCostModel.DefaultJoinAlgorithm extends Object implements HiveCostModel.JoinAlgorithm
Modifier and Type | Field and Description |
---|---|
static HiveCostModel.JoinAlgorithm |
INSTANCE |
Constructor and Description |
---|
HiveDefaultCostModel.DefaultJoinAlgorithm() |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<org.apache.calcite.rel.RelCollation> |
getCollation(HiveJoin join) |
org.apache.calcite.plan.RelOptCost |
getCost(HiveJoin join) |
Double |
getCumulativeMemoryWithinPhaseSplit(HiveJoin join) |
org.apache.calcite.rel.RelDistribution |
getDistribution(HiveJoin join) |
Double |
getMemory(HiveJoin join) |
Integer |
getSplitCount(HiveJoin join) |
boolean |
isExecutable(HiveJoin join) |
Boolean |
isPhaseTransition(HiveJoin join) |
String |
toString() |
public static final HiveCostModel.JoinAlgorithm INSTANCE
public HiveDefaultCostModel.DefaultJoinAlgorithm()
public String toString()
toString
in interface HiveCostModel.JoinAlgorithm
toString
in class Object
public boolean isExecutable(HiveJoin join)
isExecutable
in interface HiveCostModel.JoinAlgorithm
public org.apache.calcite.plan.RelOptCost getCost(HiveJoin join)
getCost
in interface HiveCostModel.JoinAlgorithm
public com.google.common.collect.ImmutableList<org.apache.calcite.rel.RelCollation> getCollation(HiveJoin join)
getCollation
in interface HiveCostModel.JoinAlgorithm
public org.apache.calcite.rel.RelDistribution getDistribution(HiveJoin join)
getDistribution
in interface HiveCostModel.JoinAlgorithm
public Double getMemory(HiveJoin join)
getMemory
in interface HiveCostModel.JoinAlgorithm
public Double getCumulativeMemoryWithinPhaseSplit(HiveJoin join)
getCumulativeMemoryWithinPhaseSplit
in interface HiveCostModel.JoinAlgorithm
public Boolean isPhaseTransition(HiveJoin join)
isPhaseTransition
in interface HiveCostModel.JoinAlgorithm
public Integer getSplitCount(HiveJoin join)
getSplitCount
in interface HiveCostModel.JoinAlgorithm
Copyright © 2017 The Apache Software Foundation. All rights reserved.