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