public abstract static class GenericUDAFComputeBitVectorBase.NumericStatsAgg extends GenericUDAFEvaluator.AbstractAggregationBuffer
| Modifier and Type | Field and Description |
|---|---|
NumDistinctValueEstimator |
numDV |
| Constructor and Description |
|---|
NumericStatsAgg() |
| Modifier and Type | Method and Description |
|---|---|
int |
estimate()
Estimate the size of memory which is occupied by aggregation buffer.
|
void |
reset() |
protected Object |
serialize(org.apache.hadoop.io.BytesWritable result) |
protected Object |
serializePartial(org.apache.hadoop.io.BytesWritable result) |
protected abstract void |
update(Object p,
PrimitiveObjectInspector inputOI) |
public NumDistinctValueEstimator numDV
public int estimate()
GenericUDAFEvaluator.AbstractAggregationBufferestimate in class GenericUDAFEvaluator.AbstractAggregationBufferprotected abstract void update(Object p, PrimitiveObjectInspector inputOI)
protected Object serialize(org.apache.hadoop.io.BytesWritable result)
protected Object serializePartial(org.apache.hadoop.io.BytesWritable result)
public void reset()
throws HiveException
HiveExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.