org.apache.hadoop.hive.ql.udf
Class UDAFPercentile.PercentileLongEvaluator
java.lang.Object
org.apache.hadoop.hive.ql.udf.UDAFPercentile.PercentileLongEvaluator
- All Implemented Interfaces:
- UDAFEvaluator
- Enclosing class:
- UDAFPercentile
public static class UDAFPercentile.PercentileLongEvaluator
- extends Object
- implements UDAFEvaluator
The evaluator for percentile computation based on long.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UDAFPercentile.PercentileLongEvaluator
public UDAFPercentile.PercentileLongEvaluator()
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.LongWritable o,
double percentile)
terminatePartial
public UDAFPercentile.State terminatePartial()
merge
public boolean merge(UDAFPercentile.State other)
terminate
public DoubleWritable terminate()
Copyright © 2010 The Apache Software Foundation