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