public class MutableTableModify extends MutableSingleRel
TableModify
.Modifier and Type | Field and Description |
---|---|
Prepare.CatalogReader |
catalogReader |
boolean |
flattened |
TableModify.Operation |
operation |
java.util.List<RexNode> |
sourceExpressionList |
RelOptTable |
table |
java.util.List<java.lang.String> |
updateColumnList |
input
cluster, ordinalInParent, PAIRWISE_STRING_EQUIVALENCE, parent, rowType, STRING_EQUIVALENCE, type
Modifier | Constructor and Description |
---|---|
private |
MutableTableModify(RelDataType rowType,
MutableRel input,
RelOptTable table,
Prepare.CatalogReader catalogReader,
TableModify.Operation operation,
java.util.List<java.lang.String> updateColumnList,
java.util.List<RexNode> sourceExpressionList,
boolean flattened) |
Modifier and Type | Method and Description |
---|---|
MutableRel |
clone() |
java.lang.StringBuilder |
digest(java.lang.StringBuilder buf) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
static MutableTableModify |
of(RelDataType rowType,
MutableRel input,
RelOptTable table,
Prepare.CatalogReader catalogReader,
TableModify.Operation operation,
java.util.List<java.lang.String> updateColumnList,
java.util.List<RexNode> sourceExpressionList,
boolean flattened)
Creates a MutableTableModify.
|
childrenAccept, getInput, getInputs, setInput
deep, getParent, replaceInParent, toString
public final Prepare.CatalogReader catalogReader
public final RelOptTable table
public final TableModify.Operation operation
public final java.util.List<java.lang.String> updateColumnList
public final java.util.List<RexNode> sourceExpressionList
public final boolean flattened
private MutableTableModify(RelDataType rowType, MutableRel input, RelOptTable table, Prepare.CatalogReader catalogReader, TableModify.Operation operation, java.util.List<java.lang.String> updateColumnList, java.util.List<RexNode> sourceExpressionList, boolean flattened)
public static MutableTableModify of(RelDataType rowType, MutableRel input, RelOptTable table, Prepare.CatalogReader catalogReader, TableModify.Operation operation, java.util.List<java.lang.String> updateColumnList, java.util.List<RexNode> sourceExpressionList, boolean flattened)
rowType
- Row typeinput
- Input relational expressiontable
- Target table to modifycatalogReader
- Accessor to the table metadataoperation
- Modify operation (INSERT, UPDATE, DELETE)updateColumnList
- List of column identifiers to be updated
(e.g. ident1, ident2); null if not UPDATEsourceExpressionList
- List of value expressions to be set
(e.g. exp1, exp2); null if not UPDATEflattened
- Whether set flattens the input row typepublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.StringBuilder digest(java.lang.StringBuilder buf)
digest
in class MutableRel
public MutableRel clone()
clone
in class MutableRel
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.