org.apache.hadoop.hive.ql.udf.generic
Interface GenericUDAFEvaluator.AggregationBuffer

All Known Implementing Classes:
GenericUDAFComputeStats.GenericUDAFBinaryStatsEvaluator.BinaryStatsAgg, GenericUDAFComputeStats.GenericUDAFBooleanStatsEvaluator.BooleanStatsAgg, GenericUDAFComputeStats.GenericUDAFDecimalStatsEvaluator.DecimalStatsAgg, GenericUDAFComputeStats.GenericUDAFDoubleStatsEvaluator.DoubleStatsAgg, GenericUDAFComputeStats.GenericUDAFLongStatsEvaluator.LongStatsAgg, GenericUDAFComputeStats.GenericUDAFStringStatsEvaluator.StringStatsAgg, GenericUDAFEvaluator.AbstractAggregationBuffer
Enclosing class:
GenericUDAFEvaluator

Deprecated. use GenericUDAFEvaluator.AbstractAggregationBuffer instead

public static interface GenericUDAFEvaluator.AggregationBuffer

The interface for a class that is used to store the aggregation result during the process of aggregation. We split this piece of data out because there can be millions of instances of this Aggregation in hash-based aggregation process, and it's very important to conserve memory. In the future, we may completely hide this class inside the Evaluator and use integer numbers to identify which aggregation we are looking at.




Copyright © 2014 The Apache Software Foundation. All rights reserved.