public static class UDAFPercentile.PercentileLongArrayEvaluator extends Object implements UDAFEvaluator
Constructor and Description |
---|
PercentileLongArrayEvaluator() |
Modifier and Type | Method and Description |
---|---|
void |
init()
Initializer.
|
boolean |
iterate(org.apache.hadoop.io.LongWritable o,
List<DoubleWritable> percentiles) |
boolean |
merge(UDAFPercentile.State other) |
List<DoubleWritable> |
terminate() |
UDAFPercentile.State |
terminatePartial() |
public void init()
UDAFEvaluator
init
in interface UDAFEvaluator
public boolean iterate(org.apache.hadoop.io.LongWritable o, List<DoubleWritable> percentiles)
public UDAFPercentile.State terminatePartial()
public boolean merge(UDAFPercentile.State other)
public List<DoubleWritable> terminate()
Copyright © 2021 The Apache Software Foundation. All rights reserved.