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