Package org.apache.calcite.rel.mutable
Class MutableTableModify
java.lang.Object
org.apache.calcite.rel.mutable.MutableRel
org.apache.calcite.rel.mutable.MutableTableModify
Mutable equivalent of 
TableModify.- 
Field SummaryFieldsModifier and TypeFieldDescriptionfinal Prepare.CatalogReaderfinal booleanprotected MutableRelfinal TableModify.Operationfinal RelOptTableFields inherited from class org.apache.calcite.rel.mutable.MutableRelcluster, ordinalInParent, PAIRWISE_STRING_EQUIVALENCE, parent, rowType, STRING_EQUIVALENCE, type
- 
Method SummaryModifier and TypeMethodDescriptionvoidchildrenAccept(MutableRelVisitor visitor) clone()digest(StringBuilder buf) booleangetInput()inthashCode()static MutableTableModifyof(RelDataType rowType, MutableRel input, RelOptTable table, Prepare.CatalogReader catalogReader, TableModify.Operation operation, @Nullable List<String> updateColumnList, @Nullable List<RexNode> sourceExpressionList, boolean flattened) Creates a MutableTableModify.voidsetInput(int ordinalInParent, MutableRel input) Methods inherited from class org.apache.calcite.rel.mutable.MutableReldeep, getParent, replaceInParent, toString
- 
Field Details- 
catalogReader
- 
table
- 
operation
- 
updateColumnList
- 
sourceExpressionList
- 
flattenedpublic final boolean flattened
- 
input
 
- 
- 
Method Details- 
ofpublic static MutableTableModify of(RelDataType rowType, MutableRel input, RelOptTable table, Prepare.CatalogReader catalogReader, TableModify.Operation operation, @Nullable List<String> updateColumnList, @Nullable List<RexNode> sourceExpressionList, boolean flattened) Creates a MutableTableModify.- Parameters:
- rowType- Row type
- input- Input relational expression
- table- Target table to modify
- catalogReader- Accessor to the table metadata
- operation- Modify operation (INSERT, UPDATE, DELETE)
- updateColumnList- List of column identifiers to be updated (e.g. ident1, ident2); null if not UPDATE
- sourceExpressionList- List of value expressions to be set (e.g. exp1, exp2); null if not UPDATE
- flattened- Whether set flattens the input row type
 
- 
equals
- 
hashCodepublic int hashCode()
- 
digest- Specified by:
- digestin class- MutableRel
 
- 
clone- Specified by:
- clonein class- MutableRel
 
- 
setInput- Specified by:
- setInputin class- MutableRel
 
- 
getInputs- Specified by:
- getInputsin class- MutableRel
 
- 
childrenAccept- Specified by:
- childrenAcceptin class- MutableRel
 
- 
getInput
 
-