public class DistinctReduce extends Object implements ReduceFunction<Row>
Constructor and Description |
---|
DistinctReduce() |
Modifier and Type | Method and Description |
---|---|
Row |
reduce(Row value1,
Row value2)
The core method of ReduceFunction, combining two values into one value of the same type.
|
public Row reduce(Row value1, Row value2)
ReduceFunction
reduce
in interface ReduceFunction<Row>
value1
- The first value to combine.value2
- The second value to combine.Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.