public class LogicalTableFunctionScan extends TableFunctionScan
TableFunctionScan
not targeted at any particular engine or calling convention.RelNode.Context
columnMappings
digest, id, rowType, traitSet
Constructor and Description |
---|
LogicalTableFunctionScan(RelInput input)
Creates a LogicalTableFunctionScan by parsing serialized output.
|
LogicalTableFunctionScan(RelOptCluster cluster,
java.util.List<RelNode> inputs,
RexNode rexCall,
java.lang.reflect.Type elementType,
RelDataType rowType,
java.util.Set<RelColumnMapping> columnMappings)
Deprecated.
|
LogicalTableFunctionScan(RelOptCluster cluster,
RelTraitSet traitSet,
java.util.List<RelNode> inputs,
RexNode rexCall,
java.lang.reflect.Type elementType,
RelDataType rowType,
java.util.Set<RelColumnMapping> columnMappings)
Creates a
LogicalTableFunctionScan . |
Modifier and Type | Method and Description |
---|---|
RelOptCost |
computeSelfCost(RelOptPlanner planner,
RelMetadataQuery mq)
Returns the cost of this plan (not including children).
|
LogicalTableFunctionScan |
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.
|
static LogicalTableFunctionScan |
create(RelOptCluster cluster,
java.util.List<RelNode> inputs,
RexNode rexCall,
java.lang.reflect.Type elementType,
RelDataType rowType,
java.util.Set<RelColumnMapping> columnMappings)
Creates a LogicalTableFunctionScan.
|
accept, copy, estimateRowCount, explainTerms, getCall, getChildExps, getColumnMappings, getElementType, getInputs, replaceInput
accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeDigest, 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
public LogicalTableFunctionScan(RelOptCluster cluster, RelTraitSet traitSet, java.util.List<RelNode> inputs, RexNode rexCall, java.lang.reflect.Type elementType, RelDataType rowType, java.util.Set<RelColumnMapping> columnMappings)
LogicalTableFunctionScan
.cluster
- Cluster that this relational expression belongs toinputs
- 0 or more relational inputstraitSet
- Trait setrexCall
- Function invocation expressionelementType
- Element type of the collection that will implement
this tablerowType
- Row type produced by functioncolumnMappings
- Column mappings associated with this function@Deprecated public LogicalTableFunctionScan(RelOptCluster cluster, java.util.List<RelNode> inputs, RexNode rexCall, java.lang.reflect.Type elementType, RelDataType rowType, java.util.Set<RelColumnMapping> columnMappings)
public LogicalTableFunctionScan(RelInput input)
public static LogicalTableFunctionScan create(RelOptCluster cluster, java.util.List<RelNode> inputs, RexNode rexCall, java.lang.reflect.Type elementType, RelDataType rowType, java.util.Set<RelColumnMapping> columnMappings)
public LogicalTableFunctionScan 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 RelOptCost computeSelfCost(RelOptPlanner planner, RelMetadataQuery mq)
RelNode
NOTE jvs 29-Mar-2006: Don't call this method directly. Instead, use
RelMetadataQuery.getNonCumulativeCost(org.apache.calcite.rel.RelNode)
, which gives plugins a
chance to override the rel's default ideas about cost.
computeSelfCost
in interface RelNode
computeSelfCost
in class AbstractRelNode
planner
- Planner for cost calculationmq
- Metadata queryCopyright © 2012–2019 The Apache Software Foundation. All rights reserved.