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

java.lang.Object
  extended by 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.


Constructor Summary
UDAFPercentile.PercentileLongEvaluator()
           
 
Method Summary
 void init()
          Initializer.
 boolean iterate(org.apache.hadoop.io.LongWritable o, double percentile)
           
 boolean merge(UDAFPercentile.State other)
           
 DoubleWritable terminate()
           
 UDAFPercentile.State terminatePartial()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UDAFPercentile.PercentileLongEvaluator

public UDAFPercentile.PercentileLongEvaluator()
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,
                       double percentile)

terminatePartial

public UDAFPercentile.State terminatePartial()

merge

public boolean merge(UDAFPercentile.State other)

terminate

public DoubleWritable terminate()


Copyright © 2010 The Apache Software Foundation