public class BeamIntersectRel extends Intersect implements BeamRelNode
BeamRelNode to replace a Intersect node.
This is used to combine two SELECT statements, but returns rows only from the first SELECT statement that are identical to a row in the second SELECT statement.
| Constructor and Description |
|---|
BeamIntersectRel(RelOptCluster cluster,
RelTraitSet traits,
java.util.List<RelNode> inputs,
boolean all) |
| Modifier and Type | Method and Description |
|---|---|
PCollection<BeamRecord> |
buildBeamPipeline(PCollectionTuple inputPCollections,
BeamSqlEnv sqlEnv)
A
BeamRelNode is a recursive structure, the
BeamQueryPlanner visits it with a DFS(Depth-First-Search)
algorithm. |
SetOp |
copy(RelTraitSet traitSet,
java.util.List<RelNode> inputs,
boolean all) |
public BeamIntersectRel(RelOptCluster cluster,
RelTraitSet traits,
java.util.List<RelNode> inputs,
boolean all)
public SetOp copy(RelTraitSet traitSet,
java.util.List<RelNode> inputs,
boolean all)
public PCollection<BeamRecord> buildBeamPipeline(PCollectionTuple inputPCollections, BeamSqlEnv sqlEnv) throws java.lang.Exception
BeamRelNodeBeamRelNode is a recursive structure, the
BeamQueryPlanner visits it with a DFS(Depth-First-Search)
algorithm.buildBeamPipeline in interface BeamRelNodejava.lang.Exception