public static class TPCHQuery3.AggLiO extends ReduceFunction implements Serializable
| Constructor and Description |
|---|
TPCHQuery3.AggLiO() |
| Modifier and Type | Method and Description |
|---|---|
void |
combine(Iterator<Record> values,
Collector<Record> out)
Creates partial sums on the price attribute for each data batch.
|
void |
reduce(Iterator<Record> values,
Collector<Record> out)
Implements the sum aggregation.
|
close, getIterationRuntimeContext, getRuntimeContext, open, setRuntimeContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getRuntimeContext, open, setRuntimeContextpublic void reduce(Iterator<Record> values, Collector<Record> out)
reduce in interface GenericReducer<Record,Record>reduce in class ReduceFunctionpublic void combine(Iterator<Record> values, Collector<Record> out)
combine in interface GenericReducer<Record,Record>combine in class ReduceFunctionCopyright © 2013. All rights reserved.