public class HiveRelMdCost extends Object implements org.apache.calcite.rel.metadata.MetadataHandler<org.apache.calcite.rel.metadata.BuiltInMetadata.NonCumulativeCost>
Constructor and Description |
---|
HiveRelMdCost(HiveCostModel hiveCostModel) |
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.rel.metadata.MetadataDef<org.apache.calcite.rel.metadata.BuiltInMetadata.NonCumulativeCost> |
getDef() |
org.apache.calcite.rel.metadata.RelMetadataProvider |
getMetadataProvider() |
org.apache.calcite.plan.RelOptCost |
getNonCumulativeCost(HiveAggregate aggregate,
org.apache.calcite.rel.metadata.RelMetadataQuery mq) |
org.apache.calcite.plan.RelOptCost |
getNonCumulativeCost(HiveJoin join,
org.apache.calcite.rel.metadata.RelMetadataQuery mq) |
org.apache.calcite.plan.RelOptCost |
getNonCumulativeCost(HiveTableScan ts,
org.apache.calcite.rel.metadata.RelMetadataQuery mq) |
org.apache.calcite.plan.RelOptCost |
getNonCumulativeCost(org.apache.calcite.rel.RelNode rel,
org.apache.calcite.rel.metadata.RelMetadataQuery mq) |
public HiveRelMdCost(HiveCostModel hiveCostModel)
public org.apache.calcite.rel.metadata.RelMetadataProvider getMetadataProvider()
public org.apache.calcite.rel.metadata.MetadataDef<org.apache.calcite.rel.metadata.BuiltInMetadata.NonCumulativeCost> getDef()
getDef
in interface org.apache.calcite.rel.metadata.MetadataHandler<org.apache.calcite.rel.metadata.BuiltInMetadata.NonCumulativeCost>
public org.apache.calcite.plan.RelOptCost getNonCumulativeCost(HiveAggregate aggregate, org.apache.calcite.rel.metadata.RelMetadataQuery mq)
public org.apache.calcite.plan.RelOptCost getNonCumulativeCost(HiveJoin join, org.apache.calcite.rel.metadata.RelMetadataQuery mq)
public org.apache.calcite.plan.RelOptCost getNonCumulativeCost(HiveTableScan ts, org.apache.calcite.rel.metadata.RelMetadataQuery mq)
public org.apache.calcite.plan.RelOptCost getNonCumulativeCost(org.apache.calcite.rel.RelNode rel, org.apache.calcite.rel.metadata.RelMetadataQuery mq)
Copyright © 2019 The Apache Software Foundation. All rights reserved.