public class IncrementalAggregateReduceFunction extends Object implements ReduceFunction<Row>
Constructor and Description |
---|
IncrementalAggregateReduceFunction(Aggregate<?>[] aggregates,
scala.Tuple2<Object,Object>[] groupKeysMapping,
int intermediateRowArity) |
Modifier and Type | Method and Description |
---|---|
Row |
reduce(Row value1,
Row value2)
For Incremental intermediate aggregate Rows, merge value1 and value2
into aggregate buffer, return aggregate buffer.
|
public Row reduce(Row value1, Row value2)
reduce
in interface ReduceFunction<Row>
value1
- The first value to combined.value2
- The second value to combined.Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.