public class DrillScanRel extends DrillScanRelBase implements DrillRel
| Modifier and Type | Field and Description |
|---|---|
static int |
STAR_COLUMN_COST |
drillTable, groupScanDRILL_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 |
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, getGroupScanaccept, getCollationList, getTable, identity, identity, projectaccept, 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, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaccept, 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, replaceInputpublic 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.TableScanpublic org.apache.calcite.rel.RelWriter explainTerms(org.apache.calcite.rel.RelWriter pw)
explainTerms in class org.apache.calcite.rel.core.TableScanpublic double estimateRowCount(org.apache.calcite.rel.metadata.RelMetadataQuery mq)
estimateRowCount in interface org.apache.calcite.rel.RelNodeestimateRowCount in class DrillScanRelBasepublic 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.RelNodecomputeSelfCost in class DrillScanRelBasepublic 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)
copy in class DrillScanRelBaseCopyright © 2021 The Apache Software Foundation. All rights reserved.