public class DrillScanRel extends DrillScanRelBase implements DrillRel
Modifier and Type | Field and Description |
---|---|
static int |
STAR_COLUMN_COST |
drillTable, groupScan
DRILL_LOGICAL
Constructor and Description |
---|
DrillScanRel(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelTraitSet traits,
org.apache.calcite.plan.RelOptTable table) |
DrillScanRel(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelTraitSet traits,
org.apache.calcite.plan.RelOptTable table,
boolean partitionFilterPushdown) |
DrillScanRel(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelTraitSet traits,
org.apache.calcite.plan.RelOptTable table,
GroupScan groupScan,
org.apache.calcite.rel.type.RelDataType rowType,
List<SchemaPath> columns)
Creates a DrillScanRel for a particular GroupScan
|
DrillScanRel(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelTraitSet traits,
org.apache.calcite.plan.RelOptTable table,
GroupScan groupScan,
org.apache.calcite.rel.type.RelDataType rowType,
List<SchemaPath> columns,
boolean partitionFilterPushdown)
Creates a DrillScanRel for a particular GroupScan
|
DrillScanRel(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelTraitSet traits,
org.apache.calcite.plan.RelOptTable table,
org.apache.calcite.rel.type.RelDataType rowType,
List<SchemaPath> columns) |
DrillScanRel(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelTraitSet traits,
org.apache.calcite.plan.RelOptTable table,
org.apache.calcite.rel.type.RelDataType rowType,
List<SchemaPath> columns,
boolean partitionFilterPushdown) |
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.plan.RelOptCost |
computeSelfCost(org.apache.calcite.plan.RelOptPlanner planner,
org.apache.calcite.rel.metadata.RelMetadataQuery mq) |
static DrillScanRel |
convert(Scan scan,
ConversionContext context) |
DrillScanRel |
copy(org.apache.calcite.plan.RelTraitSet traitSet,
GroupScan scan,
org.apache.calcite.rel.type.RelDataType rowType) |
org.apache.calcite.rel.type.RelDataType |
deriveRowType() |
double |
estimateRowCount(org.apache.calcite.rel.metadata.RelMetadataQuery mq) |
org.apache.calcite.rel.RelWriter |
explainTerms(org.apache.calcite.rel.RelWriter pw) |
List<SchemaPath> |
getColumns() |
static List<SchemaPath> |
getProjectedColumns(org.apache.calcite.plan.RelOptTable table,
boolean isSelectStar) |
LogicalOperator |
implement(DrillImplementor implementor) |
boolean |
partitionFilterPushdown() |
getDrillTable, getGroupScan
accept, getCollationList, getTable, identity, identity, project
accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, copy, equals, explain, getChildExps, getCluster, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getInputs, getQuery, getRelTypeName, getRows, getRowType, getTraitSet, getVariablesSet, getVariablesStopped, hashCode, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, register, replaceInput, sole, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
accept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, copy, explain, getChildExps, getCollationList, getConvention, getCorrelVariable, getExpectedInputRowType, getInput, getInputs, getQuery, getRelTypeName, getRows, getRowType, getTable, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, register, replaceInput
public static final int STAR_COLUMN_COST
public DrillScanRel(org.apache.calcite.plan.RelOptCluster cluster, org.apache.calcite.plan.RelTraitSet traits, org.apache.calcite.plan.RelOptTable table)
public DrillScanRel(org.apache.calcite.plan.RelOptCluster cluster, org.apache.calcite.plan.RelTraitSet traits, org.apache.calcite.plan.RelOptTable table, boolean partitionFilterPushdown)
public DrillScanRel(org.apache.calcite.plan.RelOptCluster cluster, org.apache.calcite.plan.RelTraitSet traits, org.apache.calcite.plan.RelOptTable table, org.apache.calcite.rel.type.RelDataType rowType, List<SchemaPath> columns)
public DrillScanRel(org.apache.calcite.plan.RelOptCluster cluster, org.apache.calcite.plan.RelTraitSet traits, org.apache.calcite.plan.RelOptTable table, org.apache.calcite.rel.type.RelDataType rowType, List<SchemaPath> columns, boolean partitionFilterPushdown)
public DrillScanRel(org.apache.calcite.plan.RelOptCluster cluster, org.apache.calcite.plan.RelTraitSet traits, org.apache.calcite.plan.RelOptTable table, GroupScan groupScan, org.apache.calcite.rel.type.RelDataType rowType, List<SchemaPath> columns)
public DrillScanRel(org.apache.calcite.plan.RelOptCluster cluster, org.apache.calcite.plan.RelTraitSet traits, org.apache.calcite.plan.RelOptTable table, GroupScan groupScan, org.apache.calcite.rel.type.RelDataType rowType, List<SchemaPath> columns, boolean partitionFilterPushdown)
public List<SchemaPath> getColumns()
public LogicalOperator implement(DrillImplementor implementor)
public static DrillScanRel convert(Scan scan, ConversionContext context)
public org.apache.calcite.rel.type.RelDataType deriveRowType()
deriveRowType
in class org.apache.calcite.rel.core.TableScan
public org.apache.calcite.rel.RelWriter explainTerms(org.apache.calcite.rel.RelWriter pw)
explainTerms
in class org.apache.calcite.rel.core.TableScan
public double estimateRowCount(org.apache.calcite.rel.metadata.RelMetadataQuery mq)
estimateRowCount
in interface org.apache.calcite.rel.RelNode
estimateRowCount
in class DrillScanRelBase
public org.apache.calcite.plan.RelOptCost computeSelfCost(org.apache.calcite.plan.RelOptPlanner planner, org.apache.calcite.rel.metadata.RelMetadataQuery mq)
computeSelfCost
in interface org.apache.calcite.rel.RelNode
computeSelfCost
in class DrillScanRelBase
public boolean partitionFilterPushdown()
public static List<SchemaPath> getProjectedColumns(org.apache.calcite.plan.RelOptTable table, boolean isSelectStar)
public DrillScanRel copy(org.apache.calcite.plan.RelTraitSet traitSet, GroupScan scan, org.apache.calcite.rel.type.RelDataType rowType)
copy
in class DrillScanRelBase
Copyright © 1970 The Apache Software Foundation. All rights reserved.