@Internal public class TupleSummaryAggregator<R extends org.apache.flink.api.java.tuple.Tuple> extends Object implements Aggregator<org.apache.flink.api.java.tuple.Tuple,R>
| Constructor and Description |
|---|
TupleSummaryAggregator(Aggregator[] columnAggregators) |
| Modifier and Type | Method and Description |
|---|---|
void |
aggregate(org.apache.flink.api.java.tuple.Tuple value)
Add a value to the current aggregation.
|
void |
combine(Aggregator<org.apache.flink.api.java.tuple.Tuple,R> other)
Combine two aggregations of the same type.
|
R |
result()
Provide the final result of the aggregation.
|
public TupleSummaryAggregator(Aggregator[] columnAggregators)
public void aggregate(org.apache.flink.api.java.tuple.Tuple value)
Aggregatoraggregate in interface Aggregator<org.apache.flink.api.java.tuple.Tuple,R extends org.apache.flink.api.java.tuple.Tuple>public void combine(Aggregator<org.apache.flink.api.java.tuple.Tuple,R> other)
Aggregator(Implementations will need to do an unchecked cast).
combine in interface Aggregator<org.apache.flink.api.java.tuple.Tuple,R extends org.apache.flink.api.java.tuple.Tuple>public R result()
Aggregatorresult in interface Aggregator<org.apache.flink.api.java.tuple.Tuple,R extends org.apache.flink.api.java.tuple.Tuple>Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.