public class LogicalTableFunctionScan extends TableFunctionScan
TableFunctionScan
not targeted at any particular engine or calling convention.columnMappingsdigest, id, rowType, traitSet| Constructor and Description |
|---|
LogicalTableFunctionScan(RelInput input)
Creates a LogicalTableFunctionScan by parsing serialized output.
|
LogicalTableFunctionScan(RelOptCluster cluster,
List<RelNode> inputs,
RexNode rexCall,
Type elementType,
RelDataType rowType,
Set<RelColumnMapping> columnMappings)
Deprecated.
|
LogicalTableFunctionScan(RelOptCluster cluster,
RelTraitSet traitSet,
List<RelNode> inputs,
RexNode rexCall,
Type elementType,
RelDataType rowType,
Set<RelColumnMapping> columnMappings)
Creates a
LogicalTableFunctionScan. |
| Modifier and Type | Method and Description |
|---|---|
RelOptCost |
computeSelfCost(RelOptPlanner planner)
Returns the cost of this plan (not including children).
|
LogicalTableFunctionScan |
copy(RelTraitSet traitSet,
List<RelNode> inputs,
RexNode rexCall,
Type elementType,
RelDataType rowType,
Set<RelColumnMapping> columnMappings)
Copies this relational expression, substituting traits and
inputs.
|
static LogicalTableFunctionScan |
create(RelOptCluster cluster,
List<RelNode> inputs,
RexNode rexCall,
Type elementType,
RelDataType rowType,
Set<RelColumnMapping> columnMappings)
Creates a LogicalTableFunctionScan.
|
accept, copy, explainTerms, getCall, getChildExps, getColumnMappings, getElementType, getInputs, getRows, replaceInputaccept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeDigest, deriveRowType, explain, getCluster, getCollationList, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getQuery, getRelTypeName, getRowType, getTable, getTraitSet, getVariablesStopped, isDistinct, isKey, isValid, metadata, onRegister, recomputeDigest, register, sole, toStringpublic LogicalTableFunctionScan(RelOptCluster cluster, RelTraitSet traitSet, List<RelNode> inputs, RexNode rexCall, Type elementType, RelDataType rowType, Set<RelColumnMapping> columnMappings)
LogicalTableFunctionScan.cluster - Cluster that this relational expression belongs toinputs - 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 function@Deprecated public LogicalTableFunctionScan(RelOptCluster cluster, List<RelNode> inputs, RexNode rexCall, Type elementType, RelDataType rowType, Set<RelColumnMapping> columnMappings)
public LogicalTableFunctionScan(RelInput input)
public static LogicalTableFunctionScan create(RelOptCluster cluster, List<RelNode> inputs, RexNode rexCall, Type elementType, RelDataType rowType, Set<RelColumnMapping> columnMappings)
public LogicalTableFunctionScan copy(RelTraitSet traitSet, List<RelNode> inputs, RexNode rexCall, Type elementType, RelDataType rowType, 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 RelOptCost computeSelfCost(RelOptPlanner planner)
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 calculationCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.