public static class UDAFExampleMax.MaxLongEvaluator extends Object implements UDAFEvaluator
Constructor and Description |
---|
MaxLongEvaluator() |
Modifier and Type | Method and Description |
---|---|
void |
init()
Initializer.
|
boolean |
iterate(org.apache.hadoop.io.LongWritable o) |
boolean |
merge(org.apache.hadoop.io.LongWritable o) |
org.apache.hadoop.io.LongWritable |
terminate() |
org.apache.hadoop.io.LongWritable |
terminatePartial() |
public void init()
UDAFEvaluator
init
in interface UDAFEvaluator
public boolean iterate(org.apache.hadoop.io.LongWritable o)
public org.apache.hadoop.io.LongWritable terminatePartial()
public boolean merge(org.apache.hadoop.io.LongWritable o)
public org.apache.hadoop.io.LongWritable terminate()
Copyright © 2021 The Apache Software Foundation. All rights reserved.