public class HiveRelMdRowCount
extends org.apache.calcite.rel.metadata.RelMdRowCount
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG |
static org.apache.calcite.rel.metadata.RelMetadataProvider |
SOURCE |
Modifier | Constructor and Description |
---|---|
protected |
HiveRelMdRowCount() |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hive.ql.optimizer.calcite.stats.HiveRelMdRowCount.PKFKRelationInfo |
analyzeJoinForPKFK(org.apache.calcite.rel.core.Join joinRel,
org.apache.calcite.rel.metadata.RelMetadataQuery mq) |
static org.apache.calcite.util.Pair<org.apache.hadoop.hive.ql.optimizer.calcite.stats.HiveRelMdRowCount.PKFKRelationInfo,org.apache.calcite.rex.RexNode> |
constraintsBasedAnalyzeJoinForPKFK(org.apache.calcite.rel.core.Join join,
org.apache.calcite.rel.metadata.RelMetadataQuery mq) |
Double |
getRowCount(org.apache.calcite.rel.core.Filter rel,
org.apache.calcite.rel.metadata.RelMetadataQuery mq) |
Double |
getRowCount(HiveAntiJoin rel,
org.apache.calcite.rel.metadata.RelMetadataQuery mq) |
Double |
getRowCount(HiveJoin join,
org.apache.calcite.rel.metadata.RelMetadataQuery mq) |
Double |
getRowCount(HiveSemiJoin rel,
org.apache.calcite.rel.metadata.RelMetadataQuery mq) |
Double |
getRowCount(org.apache.calcite.rel.core.Sort rel,
org.apache.calcite.rel.metadata.RelMetadataQuery mq) |
protected static final org.slf4j.Logger LOG
public static final org.apache.calcite.rel.metadata.RelMetadataProvider SOURCE
public Double getRowCount(HiveJoin join, org.apache.calcite.rel.metadata.RelMetadataQuery mq)
public Double getRowCount(HiveSemiJoin rel, org.apache.calcite.rel.metadata.RelMetadataQuery mq)
public Double getRowCount(HiveAntiJoin rel, org.apache.calcite.rel.metadata.RelMetadataQuery mq)
public Double getRowCount(org.apache.calcite.rel.core.Sort rel, org.apache.calcite.rel.metadata.RelMetadataQuery mq)
getRowCount
in class org.apache.calcite.rel.metadata.RelMdRowCount
public Double getRowCount(org.apache.calcite.rel.core.Filter rel, org.apache.calcite.rel.metadata.RelMetadataQuery mq)
getRowCount
in class org.apache.calcite.rel.metadata.RelMdRowCount
public static org.apache.hadoop.hive.ql.optimizer.calcite.stats.HiveRelMdRowCount.PKFKRelationInfo analyzeJoinForPKFK(org.apache.calcite.rel.core.Join joinRel, org.apache.calcite.rel.metadata.RelMetadataQuery mq)
public static org.apache.calcite.util.Pair<org.apache.hadoop.hive.ql.optimizer.calcite.stats.HiveRelMdRowCount.PKFKRelationInfo,org.apache.calcite.rex.RexNode> constraintsBasedAnalyzeJoinForPKFK(org.apache.calcite.rel.core.Join join, org.apache.calcite.rel.metadata.RelMetadataQuery mq)
Copyright © 2022 The Apache Software Foundation. All rights reserved.