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