public static class ValueSummaryAggregator.StringValueSummaryAggregator extends ValueSummaryAggregator<StringValue,String,StringColumnSummary,StringSummaryAggregator>
ValueSummaryAggregator
for String
.ValueSummaryAggregator.BooleanValueSummaryAggregator, ValueSummaryAggregator.DoubleValueSummaryAggregator, ValueSummaryAggregator.FloatValueSummaryAggregator, ValueSummaryAggregator.IntegerValueSummaryAggregator, ValueSummaryAggregator.LongValueSummaryAggregator, ValueSummaryAggregator.ShortValueSummaryAggregator, ValueSummaryAggregator.StringValueSummaryAggregator
Constructor and Description |
---|
StringValueSummaryAggregator() |
Modifier and Type | Method and Description |
---|---|
protected String |
getValue(StringValue value)
Get the value out of a value type.
|
protected StringSummaryAggregator |
initPrimitiveAggregator()
Initialize an aggregator that can be used for the underlying primitive in the Value type.
|
aggregate, combine, result
protected StringSummaryAggregator initPrimitiveAggregator()
ValueSummaryAggregator
E.g. DoubleValues can easily be converted to Double and could use an underlying Aggregator<Double,?>
initPrimitiveAggregator
in class ValueSummaryAggregator<StringValue,String,StringColumnSummary,StringSummaryAggregator>
protected String getValue(StringValue value)
ValueSummaryAggregator
getValue
in class ValueSummaryAggregator<StringValue,String,StringColumnSummary,StringSummaryAggregator>
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.