public class GenericUDAFComputeStats.GenericUDAFLongStatsEvaluator.LongStatsAgg extends GenericUDAFComputeStats.GenericUDAFNumericStatsEvaluator.NumericStatsAgg
columnType, countNulls, max, min, numDV
Constructor and Description |
---|
GenericUDAFComputeStats.GenericUDAFLongStatsEvaluator.LongStatsAgg() |
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,
LongObjectInspector maxFieldOI) |
protected void |
updateMin(Object minValue,
LongObjectInspector minFieldOI) |
initNDVEstimator, reset, serialize, serializePartial
public GenericUDAFComputeStats.GenericUDAFLongStatsEvaluator.LongStatsAgg()
public int estimate()
GenericUDAFEvaluator.AbstractAggregationBuffer
estimate
in class GenericUDAFComputeStats.GenericUDAFNumericStatsEvaluator.NumericStatsAgg
protected void update(Object p, PrimitiveObjectInspector inputOI)
update
in class GenericUDAFComputeStats.GenericUDAFNumericStatsEvaluator.NumericStatsAgg
protected void updateMin(Object minValue, LongObjectInspector minFieldOI)
updateMin
in class GenericUDAFComputeStats.GenericUDAFNumericStatsEvaluator.NumericStatsAgg
protected void updateMax(Object maxValue, LongObjectInspector maxFieldOI)
updateMax
in class GenericUDAFComputeStats.GenericUDAFNumericStatsEvaluator.NumericStatsAgg
Copyright © 2017 The Apache Software Foundation. All rights reserved.