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