public class ScanPrel extends DrillScanRelBase implements LeafPrel, HasDistributionAffinity
drillTable, groupScan
DRILL_PHYSICAL
Constructor and Description |
---|
ScanPrel(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelTraitSet traits,
GroupScan groupScan,
org.apache.calcite.rel.type.RelDataType rowType,
org.apache.calcite.plan.RelOptTable table) |
Modifier and Type | Method and Description |
---|---|
<T,X,E extends Throwable> |
accept(PrelVisitor<T,X,E> logicalVisitor,
X value) |
protected Object |
clone() |
org.apache.calcite.plan.RelOptCost |
computeSelfCost(org.apache.calcite.plan.RelOptPlanner planner,
org.apache.calcite.rel.metadata.RelMetadataQuery mq) |
ScanPrel |
copy(org.apache.calcite.plan.RelTraitSet traitSet,
GroupScan scan,
org.apache.calcite.rel.type.RelDataType rowType) |
org.apache.calcite.rel.RelNode |
copy(org.apache.calcite.plan.RelTraitSet traitSet,
List<org.apache.calcite.rel.RelNode> inputs) |
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) |
DistributionAffinity |
getDistributionAffinity() |
BatchSchema.SelectionVectorMode |
getEncoding()
A Prel's own SelectionVector mode - i.e whether it generates an SV2, SV4 or None
|
PhysicalOperator |
getPhysicalOperator(PhysicalPlanCreator creator) |
BatchSchema.SelectionVectorMode[] |
getSupportedEncodings()
Supported 'encodings' of a Prel indicates what are the acceptable modes of SelectionVector
of its child Prel
|
getDrillTable, getGroupScan
accept, getCollationList, getTable, identity, identity, project
accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, 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
finalize, getClass, notify, notifyAll, wait, wait, wait
iterator, needsFinalColumnReordering
prepareForLateralUnnestPipeline
accept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, explain, getChildExps, getCollationList, getConvention, getCorrelVariable, getExpectedInputRowType, getInput, getInputs, getQuery, getRelTypeName, getRows, getRowType, getTable, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, register, replaceInput
getCluster, getDescription, getDigest, getId, getTraitSet
forEach, spliterator
public ScanPrel(org.apache.calcite.plan.RelOptCluster cluster, org.apache.calcite.plan.RelTraitSet traits, GroupScan groupScan, org.apache.calcite.rel.type.RelDataType rowType, org.apache.calcite.plan.RelOptTable table)
public org.apache.calcite.rel.RelNode copy(org.apache.calcite.plan.RelTraitSet traitSet, List<org.apache.calcite.rel.RelNode> inputs)
copy
in interface org.apache.calcite.rel.RelNode
copy
in class org.apache.calcite.rel.AbstractRelNode
public ScanPrel copy(org.apache.calcite.plan.RelTraitSet traitSet, GroupScan scan, org.apache.calcite.rel.type.RelDataType rowType)
copy
in class DrillScanRelBase
protected Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public PhysicalOperator getPhysicalOperator(PhysicalPlanCreator creator) throws IOException
getPhysicalOperator
in interface Prel
IOException
public org.apache.calcite.rel.RelWriter explainTerms(org.apache.calcite.rel.RelWriter pw)
explainTerms
in class org.apache.calcite.rel.core.TableScan
public org.apache.calcite.rel.type.RelDataType deriveRowType()
deriveRowType
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 <T,X,E extends Throwable> T accept(PrelVisitor<T,X,E> logicalVisitor, X value) throws E extends Throwable
public BatchSchema.SelectionVectorMode[] getSupportedEncodings()
Prel
getSupportedEncodings
in interface Prel
public BatchSchema.SelectionVectorMode getEncoding()
Prel
getEncoding
in interface Prel
public DistributionAffinity getDistributionAffinity()
getDistributionAffinity
in interface HasDistributionAffinity
Copyright © 2022 The Apache Software Foundation. All rights reserved.