Package org.apache.calcite.rel.logical
Class LogicalTableModify
- java.lang.Object
-
- org.apache.calcite.rel.AbstractRelNode
-
- org.apache.calcite.rel.SingleRel
-
- org.apache.calcite.rel.core.TableModify
-
- org.apache.calcite.rel.logical.LogicalTableModify
-
- All Implemented Interfaces:
java.lang.Cloneable
,RelOptNode
,RelNode
public final class LogicalTableModify extends TableModify
Sub-class ofTableModify
not targeted at any particular engine or calling convention.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.calcite.rel.core.TableModify
TableModify.Operation
-
Nested classes/interfaces inherited from interface org.apache.calcite.rel.RelNode
RelNode.Context
-
-
Field Summary
-
Fields inherited from class org.apache.calcite.rel.core.TableModify
catalogReader, table
-
Fields inherited from class org.apache.calcite.rel.AbstractRelNode
digest, id, rowType, traitSet
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class org.apache.calcite.rel.core.TableModify
computeSelfCost, deriveRowType, explainTerms, getCatalogReader, getExpectedInputRowType, getOperation, getSourceExpressionList, getTable, getUpdateColumnList, isDelete, isFlattened, isInsert, isMerge, isUpdate
-
Methods inherited from class org.apache.calcite.rel.SingleRel
childrenAccept, estimateRowCount, getInput, getInputs, replaceInput
-
Methods inherited from class org.apache.calcite.rel.AbstractRelNode
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
-
-
-
-
Constructor Detail
-
LogicalTableModify
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)
Creates a LogicalTableModify.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.
-
LogicalTableModify
@Deprecated public LogicalTableModify(RelOptCluster cluster, RelOptTable table, Prepare.CatalogReader schema, RelNode input, TableModify.Operation operation, java.util.List<java.lang.String> updateColumnList, boolean flattened)
Deprecated.
-
-
Method Detail
-
create
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)
Creates a LogicalTableModify.
-
copy
public LogicalTableModify copy(RelTraitSet traitSet, java.util.List<RelNode> inputs)
Description copied from interface:RelNode
Creates a copy of this relational expression, perhaps changing traits and inputs.Sub-classes with other important attributes are encouraged to create variants of this method with more parameters.
- Specified by:
copy
in interfaceRelNode
- Overrides:
copy
in classAbstractRelNode
- Parameters:
traitSet
- Trait setinputs
- Inputs- Returns:
- Copy of this relational expression, substituting traits and inputs
-
-