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

java.lang.Object
  extended by org.apache.hadoop.hive.ql.udf.UDAFCount.UDAFCountEvaluator
All Implemented Interfaces:
UDAFEvaluator
Enclosing class:
UDAFCount

public static class UDAFCount.UDAFCountEvaluator
extends Object
implements UDAFEvaluator


Constructor Summary
UDAFCount.UDAFCountEvaluator()
           
 
Method Summary
 void init()
          Initializer.
 boolean iterate(Object o)
           
 boolean merge(org.apache.hadoop.io.LongWritable count)
           
 org.apache.hadoop.io.LongWritable terminate()
           
 org.apache.hadoop.io.LongWritable terminatePartial()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UDAFCount.UDAFCountEvaluator

public UDAFCount.UDAFCountEvaluator()
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 org.apache.hadoop.io.LongWritable terminatePartial()

merge

public boolean merge(org.apache.hadoop.io.LongWritable count)

terminate

public org.apache.hadoop.io.LongWritable terminate()


Copyright © 2009 The Apache Software Foundation