public class MutableTableModify extends MutableRel
TableModify.| Modifier and Type | Field and Description |
|---|---|
Prepare.CatalogReader |
catalogReader |
boolean |
flattened |
protected MutableRel |
input |
TableModify.Operation |
operation |
@Nullable List<RexNode> |
sourceExpressionList |
RelOptTable |
table |
@Nullable List<String> |
updateColumnList |
cluster, ordinalInParent, PAIRWISE_STRING_EQUIVALENCE, parent, rowType, STRING_EQUIVALENCE, type| Modifier and Type | Method and Description |
|---|---|
void |
childrenAccept(MutableRelVisitor visitor) |
MutableRel |
clone() |
StringBuilder |
digest(StringBuilder buf) |
boolean |
equals(@Nullable Object obj) |
MutableRel |
getInput() |
List<MutableRel> |
getInputs() |
int |
hashCode() |
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.
|
void |
setInput(int ordinalInParent,
MutableRel input) |
deep, getParent, replaceInParent, toStringpublic final Prepare.CatalogReader catalogReader
public final RelOptTable table
public final TableModify.Operation operation
public final boolean flattened
protected MutableRel input
public 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)
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 MutableRelpublic void setInput(int ordinalInParent,
MutableRel input)
setInput in class MutableRelpublic List<MutableRel> getInputs()
getInputs in class MutableRelpublic void childrenAccept(MutableRelVisitor visitor)
childrenAccept in class MutableRelpublic MutableRel getInput()
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.