org.apache.hadoop.hive.ql.udf.generic
Class GenericUDAFStdSample.GenericUDAFStdSampleEvaluator
java.lang.Object
org.apache.hadoop.hive.ql.udf.generic.GenericUDAFEvaluator
org.apache.hadoop.hive.ql.udf.generic.GenericUDAFVariance.GenericUDAFVarianceEvaluator
org.apache.hadoop.hive.ql.udf.generic.GenericUDAFStdSample.GenericUDAFStdSampleEvaluator
- Enclosing class:
- GenericUDAFStdSample
public static class GenericUDAFStdSample.GenericUDAFStdSampleEvaluator
- extends GenericUDAFVariance.GenericUDAFVarianceEvaluator
Compute the sample standard deviation by extending
GenericUDAFVarianceEvaluator and overriding the terminate() method of the
evaluator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericUDAFStdSample.GenericUDAFStdSampleEvaluator
public GenericUDAFStdSample.GenericUDAFStdSampleEvaluator()
terminate
public Object terminate(GenericUDAFEvaluator.AggregationBuffer agg)
throws HiveException
- Description copied from class:
GenericUDAFEvaluator
- Get final aggregation result.
- Overrides:
terminate
in class GenericUDAFVariance.GenericUDAFVarianceEvaluator
- Returns:
- final aggregation result.
- Throws:
HiveException
Copyright © 2009 The Apache Software Foundation