public abstract static class GenericUDAFComputeBitVectorBase.NumericStatsEvaluatorBase<V,OI extends PrimitiveObjectInspector> extends GenericUDAFEvaluator
GenericUDAFEvaluator.AbstractAggregationBuffer, GenericUDAFEvaluator.AggregationBuffer, GenericUDAFEvaluator.AggregationType, GenericUDAFEvaluator.Mode| Modifier and Type | Field and Description |
|---|---|
protected PrimitiveObjectInspector |
inputOI |
protected BinaryObjectInspector |
ndvFieldOI |
protected org.apache.hadoop.io.BytesWritable |
partialResult |
protected org.apache.hadoop.io.BytesWritable |
result |
partitionEvaluator| Constructor and Description |
|---|
NumericStatsEvaluatorBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
merge(GenericUDAFEvaluator.AggregationBuffer agg,
Object partial)
Merge with partial aggregation result.
|
void |
reset(GenericUDAFEvaluator.AggregationBuffer agg)
Reset the aggregation.
|
Object |
terminate(GenericUDAFEvaluator.AggregationBuffer agg)
Get final aggregation result.
|
Object |
terminatePartial(GenericUDAFEvaluator.AggregationBuffer agg)
Get partial aggregation result.
|
aggregate, close, configure, createPartitionEvaluator, estimate, evaluate, getExprString, getNewAggregationBuffer, getPartitionWindowingEvaluator, getWindowingEvaluator, init, isEstimable, iterateprotected transient PrimitiveObjectInspector inputOI
protected transient BinaryObjectInspector ndvFieldOI
protected transient org.apache.hadoop.io.BytesWritable partialResult
protected transient org.apache.hadoop.io.BytesWritable result
public void reset(GenericUDAFEvaluator.AggregationBuffer agg) throws HiveException
GenericUDAFEvaluatorreset in class GenericUDAFEvaluatorHiveExceptionpublic void merge(GenericUDAFEvaluator.AggregationBuffer agg, Object partial) throws HiveException
GenericUDAFEvaluatormerge in class GenericUDAFEvaluatorpartial - The partial aggregation result.HiveExceptionpublic Object terminatePartial(GenericUDAFEvaluator.AggregationBuffer agg) throws HiveException
GenericUDAFEvaluatorterminatePartial in class GenericUDAFEvaluatorHiveExceptionpublic Object terminate(GenericUDAFEvaluator.AggregationBuffer agg) throws HiveException
GenericUDAFEvaluatorterminate in class GenericUDAFEvaluatorHiveExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.