@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)
Aggregator
aggregate
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()
Aggregator
result
in interface Aggregator<Object,ObjectColumnSummary>
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.