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