public class BeamAggregationRel extends Aggregate implements BeamRelNode
BeamRelNode
to replace a Aggregate
node.Constructor and Description |
---|
BeamAggregationRel(RelOptCluster cluster,
RelTraitSet traits,
RelNode child,
boolean indicator,
ImmutableBitSet groupSet,
java.util.List<ImmutableBitSet> groupSets,
java.util.List<AggregateCall> aggCalls,
java.util.Optional<AggregateWindowField> windowField) |
Modifier and Type | Method and Description |
---|---|
Aggregate |
copy(RelTraitSet traitSet,
RelNode input,
boolean indicator,
ImmutableBitSet groupSet,
java.util.List<ImmutableBitSet> groupSets,
java.util.List<AggregateCall> aggCalls) |
RelWriter |
explainTerms(RelWriter pw) |
PTransform<PCollectionTuple,PCollection<Row>> |
toPTransform()
A
BeamRelNode is a recursive structure, the BeamQueryPlanner visits it with a
DFS(Depth-First-Search) algorithm. |
public BeamAggregationRel(RelOptCluster cluster, RelTraitSet traits, RelNode child, boolean indicator, ImmutableBitSet groupSet, java.util.List<ImmutableBitSet> groupSets, java.util.List<AggregateCall> aggCalls, java.util.Optional<AggregateWindowField> windowField)
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
public Aggregate copy(RelTraitSet traitSet, RelNode input, boolean indicator, ImmutableBitSet groupSet, java.util.List<ImmutableBitSet> groupSets, java.util.List<AggregateCall> aggCalls)
public RelWriter explainTerms(RelWriter pw)