public class LogicalTableFunctionScan extends TableFunctionScan
TableFunctionScan
not targeted at any particular engine or calling convention.RelNode.ContextcolumnMappingsdigest, id, rowType, traitSet| Constructor and Description |
|---|
LogicalTableFunctionScan(RelInput input)
Creates a LogicalTableFunctionScan by parsing serialized output.
|
LogicalTableFunctionScan(RelOptCluster cluster,
List<RelNode> inputs,
RexNode rexCall,
@Nullable Type elementType,
RelDataType rowType,
@Nullable Set<RelColumnMapping> columnMappings)
Deprecated.
|
LogicalTableFunctionScan(RelOptCluster cluster,
RelTraitSet traitSet,
List<RelNode> inputs,
RexNode rexCall,
@Nullable Type elementType,
RelDataType rowType,
@Nullable Set<RelColumnMapping> columnMappings)
Creates a
LogicalTableFunctionScan. |
| Modifier and Type | Method and Description |
|---|---|
@Nullable RelOptCost |
computeSelfCost(RelOptPlanner planner,
RelMetadataQuery mq)
Returns the cost of this plan (not including children).
|
LogicalTableFunctionScan |
copy(RelTraitSet traitSet,
List<RelNode> inputs,
RexNode rexCall,
@Nullable Type elementType,
RelDataType rowType,
@Nullable Set<RelColumnMapping> columnMappings)
Copies this relational expression, substituting traits and
inputs.
|
static LogicalTableFunctionScan |
create(RelOptCluster cluster,
List<RelNode> inputs,
RexNode rexCall,
@Nullable Type elementType,
RelDataType rowType,
@Nullable Set<RelColumnMapping> columnMappings)
Creates a LogicalTableFunctionScan.
|
accept, copy, estimateRowCount, explainTerms, getCall, getColumnMappings, getElementType, getInputs, replaceInputaccept, childrenAccept, collectVariablesSet, collectVariablesUsed, deepEquals, deepHashCode, deriveRowType, equals, explain, getCluster, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getRelDigest, getRelTypeName, getRowType, getTable, getTraitSet, getVariablesSet, hashCode, isEnforcer, isValid, metadata, onRegister, recomputeDigest, register, sole, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitexplain, fieldIsNullablepublic LogicalTableFunctionScan(RelOptCluster cluster, RelTraitSet traitSet, List<RelNode> inputs, RexNode rexCall, @Nullable Type elementType, RelDataType rowType, @Nullable 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, List<RelNode> inputs, RexNode rexCall, @Nullable Type elementType, RelDataType rowType, @Nullable Set<RelColumnMapping> columnMappings)
public LogicalTableFunctionScan(RelInput input)
public static LogicalTableFunctionScan create(RelOptCluster cluster, List<RelNode> inputs, RexNode rexCall, @Nullable Type elementType, RelDataType rowType, @Nullable Set<RelColumnMapping> columnMappings)
public LogicalTableFunctionScan copy(RelTraitSet traitSet, List<RelNode> inputs, RexNode rexCall, @Nullable Type elementType, RelDataType rowType, @Nullable Set<RelColumnMapping> columnMappings)
TableFunctionScancopy in class TableFunctionScantraitSet - 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 @Nullable RelOptCost computeSelfCost(RelOptPlanner planner, RelMetadataQuery mq)
RelNodeNOTE 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 RelNodecomputeSelfCost in class AbstractRelNodeplanner - Planner for cost calculationmq - Metadata queryCopyright © 2012-2022 Apache Software Foundation. All Rights Reserved.