org.apache.hadoop.hive.ql.udf
Class UDAFPercentile

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.UDAF
      extended by org.apache.hadoop.hive.ql.udf.UDAFPercentile

public class UDAFPercentile
extends UDAF

UDAF for calculating the percentile values. There are several definitions of percentile, and we take the method recommended by NIST.

See Also:
Percentile references

Nested Class Summary
static class UDAFPercentile.MyComparator
          A comparator to sort the entries in order.
static class UDAFPercentile.PercentileLongArrayEvaluator
          The evaluator for percentile computation based on long for an array of percentiles.
static class UDAFPercentile.PercentileLongEvaluator
          The evaluator for percentile computation based on long.
static class UDAFPercentile.State
          A state class to store intermediate aggregation results.
 
Constructor Summary
UDAFPercentile()
           
 
Method Summary
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.UDAF
getResolver, setResolver
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UDAFPercentile

public UDAFPercentile()


Copyright © 2014 The Apache Software Foundation. All rights reserved.