Class DrillRelMdSelectivity
java.lang.Object
org.apache.calcite.rel.metadata.RelMdSelectivity
org.apache.drill.exec.planner.cost.DrillRelMdSelectivity
- All Implemented Interfaces:
org.apache.calcite.rel.metadata.MetadataHandler<org.apache.calcite.rel.metadata.BuiltInMetadata.Selectivity>
public class DrillRelMdSelectivity
extends org.apache.calcite.rel.metadata.RelMdSelectivity
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Set<org.apache.calcite.sql.SqlKind>
static final org.apache.calcite.rel.metadata.RelMetadataProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetSelectivity
(org.apache.calcite.rel.RelNode rel, org.apache.calcite.rel.metadata.RelMetadataQuery mq, org.apache.calcite.rex.RexNode predicate) Methods inherited from class org.apache.calcite.rel.metadata.RelMdSelectivity
getDef, getSelectivity, getSelectivity, getSelectivity, getSelectivity, getSelectivity, getSelectivity, getSelectivity, getSelectivity, getSelectivity
-
Field Details
-
SOURCE
public static final org.apache.calcite.rel.metadata.RelMetadataProvider SOURCE -
RANGE_PREDICATE
-
-
Constructor Details
-
DrillRelMdSelectivity
public DrillRelMdSelectivity()
-
-
Method Details
-
getSelectivity
public Double getSelectivity(org.apache.calcite.rel.RelNode rel, org.apache.calcite.rel.metadata.RelMetadataQuery mq, org.apache.calcite.rex.RexNode predicate) - Overrides:
getSelectivity
in classorg.apache.calcite.rel.metadata.RelMdSelectivity
-