public abstract static class GenericUDAFComputeBitVectorBase.StringStatsEvaluatorBase 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 |
|---|
StringStatsEvaluatorBase() |
| Modifier and Type | Method and Description |
|---|---|
GenericUDAFEvaluator.AggregationBuffer |
getNewAggregationBuffer()
Get a new aggregation object.
|
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, 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 GenericUDAFEvaluator.AggregationBuffer getNewAggregationBuffer() throws HiveException
GenericUDAFEvaluatorgetNewAggregationBuffer in class GenericUDAFEvaluatorHiveExceptionpublic 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 © 2024 The Apache Software Foundation. All rights reserved.