org.apache.hadoop.hive.ql.udf
Class UDAFAvg.UDAFAvgEvaluator
java.lang.Object
org.apache.hadoop.hive.ql.udf.UDAFAvg.UDAFAvgEvaluator
- All Implemented Interfaces:
- UDAFEvaluator
- Enclosing class:
- UDAFAvg
public static class UDAFAvg.UDAFAvgEvaluator
- extends Object
- implements UDAFEvaluator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UDAFAvg.UDAFAvgEvaluator
public UDAFAvg.UDAFAvgEvaluator()
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(DoubleWritable o)
terminatePartial
public org.apache.hadoop.io.Text terminatePartial()
merge
public boolean merge(org.apache.hadoop.io.Text o)
terminate
public DoubleWritable terminate()
Copyright © 2009 The Apache Software Foundation