public class EnumerableTableScan extends TableScan implements EnumerableRel
TableScan in
enumerable calling convention.EnumerableRel.Prefer, EnumerableRel.Resultdigest, id, rowType, traitSetFILTER_FACTORY, PROJECT_FACTORY| Constructor and Description |
|---|
EnumerableTableScan(RelOptCluster cluster,
RelTraitSet traitSet,
RelOptTable table,
Class elementType)
Creates an EnumerableTableScan.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
canHandle(Table table)
Returns whether EnumerableTableScan can generate code to handle a
particular variant of the Table SPI.
|
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(Table table) |
EnumerableRel.Result |
implement(EnumerableRelImplementor implementor,
EnumerableRel.Prefer pref)
Creates a plan for this expression according to a calling convention.
|
accept, computeSelfCost, deriveRowType, explainTerms, getCollationList, getRows, getTable, identity, identity, isKey, projectaccept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeDigest, explain, getChildExps, getCluster, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getInputs, getQuery, getRelTypeName, getRowType, getTraitSet, getVariablesStopped, isDistinct, isValid, metadata, onRegister, recomputeDigest, register, replaceInput, sole, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaccept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, explain, getChildExps, getCollationList, getConvention, getCorrelVariable, getExpectedInputRowType, getInput, getInputs, getQuery, getRelTypeName, getRows, getRowType, getTable, getVariablesStopped, isDistinct, isKey, isValid, metadata, onRegister, recomputeDigest, register, replaceInputgetCluster, getDescription, getDigest, getId, getTraitSetpublic 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 static EnumerableTableScan create(RelOptCluster cluster, RelOptTable relOptTable)
public static boolean canHandle(Table 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–2015 The Apache Software Foundation. All rights reserved.