public class ScanPrel extends DrillScanRelBase implements LeafPrel, HasDistributionAffinity
drillTable, groupScanDRILL_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.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, getGroupScanaccept, getCollationList, getTable, identity, identity, projectaccept, 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, toStringfinalize, getClass, notify, notifyAll, wait, wait, waititerator, needsFinalColumnReorderingprepareForLateralUnnestPipelineaccept, 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, replaceInputgetCluster, getDescription, getDigest, getId, getTraitSetforEach, spliteratorpublic 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.RelNodecopy in class org.apache.calcite.rel.AbstractRelNodepublic ScanPrel copy(org.apache.calcite.plan.RelTraitSet traitSet, GroupScan scan)
copy in class DrillScanRelBaseprotected Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic PhysicalOperator getPhysicalOperator(PhysicalPlanCreator creator) throws IOException
getPhysicalOperator in interface PrelIOExceptionpublic org.apache.calcite.rel.RelWriter explainTerms(org.apache.calcite.rel.RelWriter pw)
explainTerms in class org.apache.calcite.rel.core.TableScanpublic org.apache.calcite.rel.type.RelDataType deriveRowType()
deriveRowType 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 <T,X,E extends Throwable> T accept(PrelVisitor<T,X,E> logicalVisitor, X value) throws E extends Throwable
public BatchSchema.SelectionVectorMode[] getSupportedEncodings()
PrelgetSupportedEncodings in interface Prelpublic BatchSchema.SelectionVectorMode getEncoding()
PrelgetEncoding in interface Prelpublic DistributionAffinity getDistributionAffinity()
getDistributionAffinity in interface HasDistributionAffinityCopyright © 2021 The Apache Software Foundation. All rights reserved.