public class MutableTableModify extends MutableSingleRel
TableModify.| Modifier and Type | Field and Description |
|---|---|
Prepare.CatalogReader |
catalogReader |
boolean |
flattened |
TableModify.Operation |
operation |
List<RexNode> |
sourceExpressionList |
RelOptTable |
table |
List<String> |
updateColumnList |
inputcluster, 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,
List<String> updateColumnList,
List<RexNode> sourceExpressionList,
boolean flattened) |
| Modifier and Type | Method and Description |
|---|---|
MutableRel |
clone() |
StringBuilder |
digest(StringBuilder buf) |
boolean |
equals(Object obj) |
int |
hashCode() |
static MutableTableModify |
of(RelDataType rowType,
MutableRel input,
RelOptTable table,
Prepare.CatalogReader catalogReader,
TableModify.Operation operation,
List<String> updateColumnList,
List<RexNode> sourceExpressionList,
boolean flattened)
Creates a MutableTableModify.
|
childrenAccept, getInput, getInputs, setInputdeep, getParent, replaceInParent, toStringpublic final Prepare.CatalogReader catalogReader
public final RelOptTable table
public final TableModify.Operation operation
public final boolean flattened
private MutableTableModify(RelDataType rowType, MutableRel input, RelOptTable table, Prepare.CatalogReader catalogReader, TableModify.Operation operation, List<String> updateColumnList, List<RexNode> sourceExpressionList, boolean flattened)
public static MutableTableModify of(RelDataType rowType, MutableRel input, RelOptTable table, Prepare.CatalogReader catalogReader, TableModify.Operation operation, List<String> updateColumnList, 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 StringBuilder digest(StringBuilder buf)
digest in class MutableRelpublic MutableRel clone()
clone in class MutableRelCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.