org.apache.hadoop.hive.ql.udf
Class UDAFCount

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.UDAF
      extended by org.apache.hadoop.hive.ql.udf.UDAFCount
All Implemented Interfaces:
UDAFEvaluator

public class UDAFCount
extends UDAF
implements UDAFEvaluator


Constructor Summary
UDAFCount()
           
 
Method Summary
 void init()
          Initializer.
 boolean iterate(Object o)
           
 boolean merge(Long count)
           
 Long terminate()
           
 Long terminatePartial()
           
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.UDAF
getResolver, setResolver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UDAFCount

public UDAFCount()
Method Detail

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