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 |
|---|---|
SetOp |
copy(RelTraitSet traitSet,
java.util.List<RelNode> inputs,
boolean all) |
PTransform<PCollectionTuple,PCollection<Row>> |
toPTransform()
A
BeamRelNode is a recursive structure, the BeamQueryPlanner visits it with a
DFS(Depth-First-Search) algorithm. |
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 PTransform<PCollectionTuple,PCollection<Row>> toPTransform()
BeamRelNodeBeamRelNode is a recursive structure, the BeamQueryPlanner visits it with a
DFS(Depth-First-Search) algorithm.toPTransform in interface BeamRelNode