public class GenericUDAFComputeStats.GenericUDAFDoubleStatsEvaluator.DoubleStatsAgg extends GenericUDAFComputeStats.GenericUDAFNumericStatsEvaluator.NumericStatsAgg
columnType, countNulls, max, min, numDV| Constructor and Description |
|---|
DoubleStatsAgg() |
| Modifier and Type | Method and Description |
|---|---|
int |
estimate()
Estimate the size of memory which is occupied by aggregation buffer.
|
protected void |
update(Object p,
PrimitiveObjectInspector inputOI) |
protected void |
updateMax(Object maxValue,
DoubleObjectInspector maxFieldOI) |
protected void |
updateMin(Object minValue,
DoubleObjectInspector minFieldOI) |
initNDVEstimator, reset, serialize, serializePartialpublic int estimate()
GenericUDAFEvaluator.AbstractAggregationBufferestimate in class GenericUDAFComputeStats.GenericUDAFNumericStatsEvaluator.NumericStatsAggprotected void update(Object p, PrimitiveObjectInspector inputOI)
update in class GenericUDAFComputeStats.GenericUDAFNumericStatsEvaluator.NumericStatsAggprotected void updateMin(Object minValue, DoubleObjectInspector minFieldOI)
updateMin in class GenericUDAFComputeStats.GenericUDAFNumericStatsEvaluator.NumericStatsAggprotected void updateMax(Object maxValue, DoubleObjectInspector maxFieldOI)
updateMax in class GenericUDAFComputeStats.GenericUDAFNumericStatsEvaluator.NumericStatsAggCopyright © 2019 The Apache Software Foundation. All Rights Reserved.