public class EnumerableTableFunctionScan extends TableFunctionScan implements EnumerableRel
TableFunctionScan
in
enumerable calling convention
.EnumerableRel.Prefer, EnumerableRel.Result
RelNode.Context
columnMappings
digest, id, rowType, traitSet
FILTER_FACTORY, PROJECT_FACTORY
Constructor and Description |
---|
EnumerableTableFunctionScan(RelOptCluster cluster,
RelTraitSet traits,
java.util.List<RelNode> inputs,
java.lang.reflect.Type elementType,
RelDataType rowType,
RexNode call,
java.util.Set<RelColumnMapping> columnMappings) |
Modifier and Type | Method and Description |
---|---|
EnumerableTableFunctionScan |
copy(RelTraitSet traitSet,
java.util.List<RelNode> inputs,
RexNode rexCall,
java.lang.reflect.Type elementType,
RelDataType rowType,
java.util.Set<RelColumnMapping> columnMappings)
Copies this relational expression, substituting traits and
inputs.
|
EnumerableRel.Result |
implement(EnumerableRelImplementor implementor,
EnumerableRel.Prefer pref)
Creates a plan for this expression according to a calling convention.
|
private boolean |
isQueryable() |
accept, copy, estimateRowCount, explainTerms, getCall, getChildExps, getColumnMappings, getElementType, getInputs, replaceInput
accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, computeSelfCost, deriveRowType, explain, getCluster, getCollationList, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getQuery, getRelTypeName, getRows, getRowType, getTable, getTraitSet, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, register, sole, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
accept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, computeSelfCost, copy, estimateRowCount, 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
public EnumerableTableFunctionScan(RelOptCluster cluster, RelTraitSet traits, java.util.List<RelNode> inputs, java.lang.reflect.Type elementType, RelDataType rowType, RexNode call, java.util.Set<RelColumnMapping> columnMappings)
public EnumerableTableFunctionScan copy(RelTraitSet traitSet, java.util.List<RelNode> inputs, RexNode rexCall, java.lang.reflect.Type elementType, RelDataType rowType, java.util.Set<RelColumnMapping> columnMappings)
TableFunctionScan
copy
in class TableFunctionScan
traitSet
- Traitsinputs
- 0 or more relational inputsrexCall
- Function invocation expressionelementType
- Element type of the collection that will implement
this tablerowType
- Row type produced by functioncolumnMappings
- Column mappings associated with this functionpublic EnumerableRel.Result implement(EnumerableRelImplementor implementor, EnumerableRel.Prefer pref)
EnumerableRel
implement
in interface EnumerableRel
implementor
- Implementorpref
- Preferred representation for rows in result expressionprivate boolean isQueryable()
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.