@Internal public class TupleSummaryAggregator<R extends Tuple> extends Object implements Aggregator<Tuple,R>
Constructor and Description |
---|
TupleSummaryAggregator(Aggregator[] columnAggregators) |
Modifier and Type | Method and Description |
---|---|
void |
aggregate(Tuple value)
Add a value to the current aggregation.
|
void |
combine(Aggregator<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(Tuple value)
Aggregator
aggregate
in interface Aggregator<Tuple,R extends Tuple>
public void combine(Aggregator<Tuple,R> other)
Aggregator
(Implementations will need to do an unchecked cast).
combine
in interface Aggregator<Tuple,R extends Tuple>
public R result()
Aggregator
result
in interface Aggregator<Tuple,R extends Tuple>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.