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,
java.util.Map<java.lang.String,java.lang.String> pipelineOptions) |
Modifier and Type | Method and Description |
---|---|
PTransform<PCollectionList<Row>,PCollection<Row>> |
buildPTransform() |
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) |
java.util.Map<java.lang.String,java.lang.String> |
getPipelineOptions()
Perform a DFS(Depth-First-Search) to find the PipelineOptions config.
|
void |
register(org.apache.calcite.plan.RelOptPlanner planner) |
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
getPCollectionInputs, isBounded
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, java.util.Map<java.lang.String,java.lang.String> pipelineOptions)
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<PCollectionList<Row>,PCollection<Row>> buildPTransform()
buildPTransform
in interface BeamRelNode
public java.util.Map<java.lang.String,java.lang.String> getPipelineOptions()
BeamRelNode
getPipelineOptions
in interface BeamRelNode