@Internal public class ObjectSummaryAggregator extends Object implements Aggregator<Object,ObjectColumnSummary>
Aggregator that calculates statistics for Object values.| Constructor and Description |
|---|
ObjectSummaryAggregator() |
| Modifier and Type | Method and Description |
|---|---|
void |
aggregate(Object value)
Add a value to the current aggregation.
|
void |
combine(Aggregator<Object,ObjectColumnSummary> otherSameType)
Combine two aggregations of the same type.
|
ObjectColumnSummary |
result()
Provide the final result of the aggregation.
|
public void aggregate(Object value)
Aggregatoraggregate in interface Aggregator<Object,ObjectColumnSummary>public void combine(Aggregator<Object,ObjectColumnSummary> otherSameType)
Aggregator(Implementations will need to do an unchecked cast).
combine in interface Aggregator<Object,ObjectColumnSummary>public ObjectColumnSummary result()
Aggregatorresult in interface Aggregator<Object,ObjectColumnSummary>Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.