public class HiveRelMdSelectivity
extends org.apache.calcite.rel.metadata.RelMdSelectivity
Modifier and Type | Field and Description |
---|---|
static org.apache.calcite.rel.metadata.RelMetadataProvider |
SOURCE |
Modifier | Constructor and Description |
---|---|
protected |
HiveRelMdSelectivity() |
Modifier and Type | Method and Description |
---|---|
protected double |
exponentialBackoff(List<HiveCalciteUtil.JoinLeafPredicateInfo> peLst,
com.google.common.collect.ImmutableMap<Integer,Double> colStatMap) |
Double |
getSelectivity(HiveJoin j,
org.apache.calcite.rex.RexNode predicate) |
Double |
getSelectivity(HiveTableScan t,
org.apache.calcite.rex.RexNode predicate) |
protected double |
logSmoothing(List<HiveCalciteUtil.JoinLeafPredicateInfo> peLst,
com.google.common.collect.ImmutableMap<Integer,Double> colStatMap) |
public Double getSelectivity(HiveTableScan t, org.apache.calcite.rex.RexNode predicate)
protected double logSmoothing(List<HiveCalciteUtil.JoinLeafPredicateInfo> peLst, com.google.common.collect.ImmutableMap<Integer,Double> colStatMap)
protected double exponentialBackoff(List<HiveCalciteUtil.JoinLeafPredicateInfo> peLst, com.google.common.collect.ImmutableMap<Integer,Double> colStatMap)
Copyright © 2017 The Apache Software Foundation. All rights reserved.