public abstract static class GenericUDAFComputeBitVectorFMSketch.NumericStatsEvaluator<V,OI extends PrimitiveObjectInspector> extends GenericUDAFComputeBitVectorBase.NumericStatsEvaluatorBase
GenericUDAFEvaluator.AbstractAggregationBuffer, GenericUDAFEvaluator.AggregationBuffer, GenericUDAFEvaluator.AggregationType, GenericUDAFEvaluator.Mode| Modifier and Type | Field and Description |
|---|---|
protected static int |
MAX_BIT_VECTORS |
protected PrimitiveObjectInspector |
numVectorsOI |
inputOI, ndvFieldOI, partialResult, resultpartitionEvaluator| Constructor and Description |
|---|
NumericStatsEvaluator() |
| Modifier and Type | Method and Description |
|---|---|
ObjectInspector |
init(GenericUDAFEvaluator.Mode m,
ObjectInspector[] parameters)
Initialize the evaluator.
|
void |
iterate(GenericUDAFEvaluator.AggregationBuffer agg,
Object[] parameters)
Iterate through original data.
|
merge, reset, terminate, terminatePartialaggregate, close, configure, createPartitionEvaluator, estimate, evaluate, getExprString, getNewAggregationBuffer, getPartitionWindowingEvaluator, getWindowingEvaluator, isEstimableprotected static final int MAX_BIT_VECTORS
protected transient PrimitiveObjectInspector numVectorsOI
public ObjectInspector init(GenericUDAFEvaluator.Mode m, ObjectInspector[] parameters) throws HiveException
GenericUDAFEvaluatorinit in class GenericUDAFEvaluatorm - The mode of aggregation.parameters - The ObjectInspector for the parameters: In PARTIAL1 and COMPLETE
mode, the parameters are original data; In PARTIAL2 and FINAL
mode, the parameters are just partial aggregations (in that case,
the array will always have a single element).HiveExceptionpublic void iterate(GenericUDAFEvaluator.AggregationBuffer agg, Object[] parameters) throws HiveException
GenericUDAFEvaluatoriterate in class GenericUDAFEvaluatorparameters - The objects of parameters.HiveExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.