@Internal public class StringSummaryAggregator extends Object implements Aggregator<String,StringColumnSummary>
Aggregator that calculates statistics for String values.| 构造器和说明 |
|---|
StringSummaryAggregator() |
| 限定符和类型 | 方法和说明 |
|---|---|
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)
Aggregatoraggregate 在接口中 Aggregator<String,StringColumnSummary>public void combine(Aggregator<String,StringColumnSummary> otherSameType)
Aggregator(Implementations will need to do an unchecked cast).
combine 在接口中 Aggregator<String,StringColumnSummary>public StringColumnSummary result()
Aggregatorresult 在接口中 Aggregator<String,StringColumnSummary>Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.