public class BeamIOSinkRel extends TableModify implements BeamRelNode
TableModify
node.Constructor and Description |
---|
BeamIOSinkRel(RelOptCluster cluster,
RelTraitSet traits,
RelOptTable table,
Prepare.CatalogReader catalogReader,
RelNode child,
Operation operation,
java.util.List<java.lang.String> updateColumnList,
java.util.List<RexNode> sourceExpressionList,
boolean flattened) |
Modifier and Type | Method and Description |
---|---|
PCollection<BeamRecord> |
buildBeamPipeline(PCollectionTuple inputPCollections,
BeamSqlEnv sqlEnv)
Note that
BeamIOSinkRel returns the input PCollection,
which is the persisted PCollection. |
RelNode |
copy(RelTraitSet traitSet,
java.util.List<RelNode> inputs) |
public BeamIOSinkRel(RelOptCluster cluster, RelTraitSet traits, RelOptTable table, Prepare.CatalogReader catalogReader, RelNode child, Operation operation, java.util.List<java.lang.String> updateColumnList, java.util.List<RexNode> sourceExpressionList, boolean flattened)
public RelNode copy(RelTraitSet traitSet, java.util.List<RelNode> inputs)
public PCollection<BeamRecord> buildBeamPipeline(PCollectionTuple inputPCollections, BeamSqlEnv sqlEnv) throws java.lang.Exception
BeamIOSinkRel
returns the input PCollection,
which is the persisted PCollection.buildBeamPipeline
in interface BeamRelNode
java.lang.Exception