public class NoExpressionAggregateFunction extends Object implements GroupReduceFunction<Row,Row>, GroupCombineFunction<Row,Row>
Constructor and Description |
---|
NoExpressionAggregateFunction() |
Modifier and Type | Method and Description |
---|---|
void |
combine(Iterable<Row> in,
Collector<Row> out)
The combine method, called (potentially multiple timed) with subgroups of elements.
|
void |
reduce(Iterable<Row> in,
Collector<Row> out)
The reduce method.
|
public void reduce(Iterable<Row> in, Collector<Row> out)
GroupReduceFunction
reduce
in interface GroupReduceFunction<Row,Row>
in
- All records that belong to the given input key.out
- The collector to hand results to.public void combine(Iterable<Row> in, Collector<Row> out)
GroupCombineFunction
combine
in interface GroupCombineFunction<Row,Row>
in
- The elements to be combined.out
- The collector to use to return values from the function.Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.