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

java.lang.Object
  extended by org.apache.hadoop.hive.ql.udf.UDAFPercentile.PercentileLongArrayEvaluator
All Implemented Interfaces:
UDAFEvaluator
Enclosing class:
UDAFPercentile

public static class UDAFPercentile.PercentileLongArrayEvaluator
extends Object
implements UDAFEvaluator

The evaluator for percentile computation based on long for an array of percentiles.


Constructor Summary
UDAFPercentile.PercentileLongArrayEvaluator()
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UDAFPercentile.PercentileLongArrayEvaluator

public UDAFPercentile.PercentileLongArrayEvaluator()
Method Detail

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,
                       List<DoubleWritable> percentiles)

terminatePartial

public UDAFPercentile.State terminatePartial()

merge

public boolean merge(UDAFPercentile.State other)

terminate

public List<DoubleWritable> terminate()


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