public final class LogicalTableModify extends TableModify
TableModify
not targeted at any particular engine or calling convention.TableModify.Operation
RelNode.Context
catalogReader, table
digest, id, rowType, traitSet
Constructor and Description |
---|
LogicalTableModify(RelOptCluster cluster,
RelOptTable table,
Prepare.CatalogReader schema,
RelNode input,
TableModify.Operation operation,
java.util.List<java.lang.String> updateColumnList,
boolean flattened)
Deprecated.
|
LogicalTableModify(RelOptCluster cluster,
RelTraitSet traitSet,
RelOptTable table,
Prepare.CatalogReader schema,
RelNode input,
TableModify.Operation operation,
java.util.List<java.lang.String> updateColumnList,
java.util.List<RexNode> sourceExpressionList,
boolean flattened)
Creates a LogicalTableModify.
|
Modifier and Type | Method and Description |
---|---|
LogicalTableModify |
copy(RelTraitSet traitSet,
java.util.List<RelNode> inputs)
Creates a copy of this relational expression, perhaps changing traits and
inputs.
|
static LogicalTableModify |
create(RelOptTable table,
Prepare.CatalogReader schema,
RelNode input,
TableModify.Operation operation,
java.util.List<java.lang.String> updateColumnList,
java.util.List<RexNode> sourceExpressionList,
boolean flattened)
Creates a LogicalTableModify.
|
computeSelfCost, deriveRowType, explainTerms, getCatalogReader, getExpectedInputRowType, getOperation, getSourceExpressionList, getTable, getUpdateColumnList, isDelete, isFlattened, isInsert, isMerge, isUpdate
childrenAccept, estimateRowCount, getInput, getInputs, replaceInput
accept, accept, collectVariablesSet, collectVariablesUsed, computeDigest, computeSelfCost, explain, getChildExps, getCluster, getCollationList, getConvention, getCorrelVariable, getDescription, getDigest, getId, getInput, getQuery, getRelTypeName, getRows, getRowType, getTraitSet, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, register, sole, toString
public LogicalTableModify(RelOptCluster cluster, RelTraitSet traitSet, RelOptTable table, Prepare.CatalogReader schema, RelNode input, TableModify.Operation operation, java.util.List<java.lang.String> updateColumnList, java.util.List<RexNode> sourceExpressionList, boolean flattened)
Use create(org.apache.calcite.plan.RelOptTable, org.apache.calcite.prepare.Prepare.CatalogReader, org.apache.calcite.rel.RelNode, org.apache.calcite.rel.core.TableModify.Operation, java.util.List<java.lang.String>, java.util.List<org.apache.calcite.rex.RexNode>, boolean)
unless you know what you're doing.
@Deprecated public LogicalTableModify(RelOptCluster cluster, RelOptTable table, Prepare.CatalogReader schema, RelNode input, TableModify.Operation operation, java.util.List<java.lang.String> updateColumnList, boolean flattened)
public static LogicalTableModify create(RelOptTable table, Prepare.CatalogReader schema, RelNode input, TableModify.Operation operation, java.util.List<java.lang.String> updateColumnList, java.util.List<RexNode> sourceExpressionList, boolean flattened)
public LogicalTableModify copy(RelTraitSet traitSet, java.util.List<RelNode> inputs)
RelNode
Sub-classes with other important attributes are encouraged to create variants of this method with more parameters.
copy
in interface RelNode
copy
in class AbstractRelNode
traitSet
- Trait setinputs
- InputsCopyright © 2012–2019 The Apache Software Foundation. All rights reserved.