public class EnumerableTableScan extends TableScan implements EnumerableRel
TableScan in
enumerable calling convention.EnumerableRel.Prefer, EnumerableRel.ResultRelNode.Contextdigest, id, rowType, traitSet| Constructor and Description |
|---|
EnumerableTableScan(RelOptCluster cluster,
RelTraitSet traitSet,
RelOptTable table,
Class elementType)
Creates an EnumerableTableScan.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
canHandle(RelOptTable relOptTable)
Returns whether EnumerableTableScan can generate code to handle a
particular variant of the Table SPI.
|
static boolean |
canHandle(Table table)
Deprecated.
remove before Calcite 2.0
|
RelNode |
copy(RelTraitSet traitSet,
List<RelNode> inputs)
Creates a copy of this relational expression, perhaps changing traits and
inputs.
|
static EnumerableTableScan |
create(RelOptCluster cluster,
RelOptTable relOptTable)
Creates an EnumerableTableScan.
|
static Class |
deduceElementType(@Nullable Table table) |
static JavaRowFormat |
deduceFormat(RelOptTable table) |
DeriveMode |
getDeriveMode()
Returns mode of derivation.
|
EnumerableRel.Result |
implement(EnumerableRelImplementor implementor,
EnumerableRel.Prefer pref)
Creates a plan for this expression according to a calling convention.
|
@Nullable RelNode |
passThrough(RelTraitSet required)
Code snippet to demonstrate how to generate IndexScan on demand
by passing required collation through TableScan.
|
accept, computeSelfCost, deriveRowType, estimateRowCount, explainTerms, getHints, getTable, identity, identity, projectaccept, childrenAccept, collectVariablesSet, collectVariablesUsed, deepEquals, deepHashCode, equals, explain, getCluster, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getInputs, getRelDigest, getRelTypeName, getRowType, getTraitSet, getVariablesSet, hashCode, isEnforcer, isValid, metadata, onRegister, recomputeDigest, register, replaceInput, sole, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitderiveTraits, passThroughTraitsderive, deriveaccept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, deepEquals, deepHashCode, estimateRowCount, explain, explain, fieldIsNullable, getConvention, getCorrelVariable, getDigest, getExpectedInputRowType, getInput, getInputs, getRelDigest, getRelTypeName, getRowType, getTable, getVariablesSet, isEnforcer, isValid, metadata, onRegister, recomputeDigest, register, replaceInputgetCluster, getDescription, getId, getTraitSetattachHints, withHintspublic EnumerableTableScan(RelOptCluster cluster, RelTraitSet traitSet, RelOptTable table, Class elementType)
Use create(org.apache.calcite.plan.RelOptCluster, org.apache.calcite.plan.RelOptTable) unless you know what you are doing.
public @Nullable RelNode passThrough(RelTraitSet required)
passThrough in interface PhysicalNodepublic DeriveMode getDeriveMode()
PhysicalNodegetDeriveMode in interface EnumerableRelgetDeriveMode in interface PhysicalNodepublic static EnumerableTableScan create(RelOptCluster cluster, RelOptTable relOptTable)
@Deprecated public static boolean canHandle(Table table)
public static boolean canHandle(RelOptTable relOptTable)
public static JavaRowFormat deduceFormat(RelOptTable table)
public RelNode copy(RelTraitSet traitSet, List<RelNode> inputs)
RelNodeSub-classes with other important attributes are encouraged to create variants of this method with more parameters.
copy in interface RelNodecopy in class AbstractRelNodetraitSet - Trait setinputs - Inputspublic EnumerableRel.Result implement(EnumerableRelImplementor implementor, EnumerableRel.Prefer pref)
EnumerableRelimplement in interface EnumerableRelimplementor - Implementorpref - Preferred representation for rows in result expressionCopyright © 2012-2022 Apache Software Foundation. All Rights Reserved.