org.apache.hadoop.hive.ql.udf
Class UDAFAvg
java.lang.Object
org.apache.hadoop.hive.ql.exec.UDAF
org.apache.hadoop.hive.ql.exec.NumericUDAF
org.apache.hadoop.hive.ql.udf.UDAFAvg
- All Implemented Interfaces:
- UDAFEvaluator
public class UDAFAvg
- extends NumericUDAF
- implements UDAFEvaluator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UDAFAvg
public UDAFAvg()
init
public void init()
- Description copied from interface:
UDAFEvaluator
- Initializer. Initializes the state for the evaluator.
- Specified by:
init
in interface UDAFEvaluator
iterate
public boolean iterate(Double o)
terminatePartial
public String terminatePartial()
merge
public boolean merge(String o)
terminate
public Double terminate()
Copyright © 2009 The Apache Software Foundation