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