public static class GenericUDAFSumEmptyIsZero.SumZeroIfEmpty extends GenericUDAFSum.GenericUDAFSumLong
GenericUDAFEvaluator.AbstractAggregationBuffer, GenericUDAFEvaluator.AggregationBuffer, GenericUDAFEvaluator.AggregationType, GenericUDAFEvaluator.Mode
inputOI, outputOI, result, sumDistinct
Constructor and Description |
---|
SumZeroIfEmpty() |
Modifier and Type | Method and Description |
---|---|
Object |
terminate(GenericUDAFEvaluator.AggregationBuffer agg)
Get final aggregation result.
|
getNewAggregationBuffer, getWindowingEvaluator, init, iterate, merge, reset, terminatePartial
checkDistinct, setSumDistinct, sumDistinct
aggregate, close, configure, evaluate, isEstimable
public Object terminate(GenericUDAFEvaluator.AggregationBuffer agg) throws HiveException
GenericUDAFEvaluator
terminate
in class GenericUDAFSum.GenericUDAFSumLong
HiveException
Copyright © 2016 The Apache Software Foundation. All rights reserved.