public class BeamIOSinkRel extends org.apache.calcite.rel.core.TableModify implements BeamRelNode, org.apache.calcite.sql2rel.RelStructuredTypeFlattener.SelfFlatteningRel
TableModify
node.Constructor and Description |
---|
BeamIOSinkRel(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelOptTable table,
org.apache.calcite.prepare.Prepare.CatalogReader catalogReader,
org.apache.calcite.rel.RelNode child,
org.apache.calcite.rel.core.TableModify.Operation operation,
java.util.List<java.lang.String> updateColumnList,
java.util.List<org.apache.calcite.rex.RexNode> sourceExpressionList,
boolean flattened,
BeamSqlTable sqlTable) |
Modifier and Type | Method and Description |
---|---|
org.apache.calcite.rel.RelNode |
copy(org.apache.calcite.plan.RelTraitSet traitSet,
java.util.List<org.apache.calcite.rel.RelNode> inputs) |
void |
flattenRel(org.apache.calcite.sql2rel.RelStructuredTypeFlattener flattener) |
void |
register(org.apache.calcite.plan.RelOptPlanner planner) |
PTransform<PCollectionTuple,PCollection<Row>> |
toPTransform()
A
BeamRelNode is a recursive structure, the BeamQueryPlanner visits it with a
DFS(Depth-First-Search) algorithm. |
computeSelfCost, deriveRowType, explainTerms, getCatalogReader, getExpectedInputRowType, getOperation, getSourceExpressionList, getTable, getUpdateColumnList, isDelete, isFlattened, isInsert, isMerge, isUpdate
childrenAccept, estimateRowCount, getInput, getInputs, replaceInput
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, sole, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
accept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, computeSelfCost, estimateRowCount, explain, getChildExps, getCollationList, getConvention, getCorrelVariable, getExpectedInputRowType, getInput, getInputs, getQuery, getRelTypeName, getRows, getRowType, getTable, getVariablesSet, getVariablesStopped, isDistinct, isKey, isValid, isValid, metadata, onRegister, recomputeDigest, replaceInput
public BeamIOSinkRel(org.apache.calcite.plan.RelOptCluster cluster, org.apache.calcite.plan.RelOptTable table, org.apache.calcite.prepare.Prepare.CatalogReader catalogReader, org.apache.calcite.rel.RelNode child, org.apache.calcite.rel.core.TableModify.Operation operation, java.util.List<java.lang.String> updateColumnList, java.util.List<org.apache.calcite.rex.RexNode> sourceExpressionList, boolean flattened, BeamSqlTable sqlTable)
public org.apache.calcite.rel.RelNode copy(org.apache.calcite.plan.RelTraitSet traitSet, java.util.List<org.apache.calcite.rel.RelNode> inputs)
copy
in interface org.apache.calcite.rel.RelNode
copy
in class org.apache.calcite.rel.AbstractRelNode
public void flattenRel(org.apache.calcite.sql2rel.RelStructuredTypeFlattener flattener)
flattenRel
in interface org.apache.calcite.sql2rel.RelStructuredTypeFlattener.SelfFlatteningRel
public void register(org.apache.calcite.plan.RelOptPlanner planner)
register
in interface org.apache.calcite.rel.RelNode
register
in class org.apache.calcite.rel.AbstractRelNode
public PTransform<PCollectionTuple,PCollection<Row>> toPTransform()
BeamRelNode
BeamRelNode
is a recursive structure, the BeamQueryPlanner
visits it with a
DFS(Depth-First-Search) algorithm.toPTransform
in interface BeamRelNode