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