org.apache.pig.impl.builtin
Class FindQuantiles

java.lang.Object
  extended by org.apache.pig.EvalFunc<DataBag>
      extended by org.apache.pig.impl.builtin.FindQuantiles

public class FindQuantiles
extends EvalFunc<DataBag>


Field Summary
 
Fields inherited from class org.apache.pig.EvalFunc
returnType
 
Constructor Summary
FindQuantiles()
           
 
Method Summary
 void exec(Tuple input, DataBag output)
          first field in the input tuple is the number of quantiles to generate second field is the *sorted* bag of samples
 
Methods inherited from class org.apache.pig.EvalFunc
finish, getReturnType, isAsynchronous, outputSchema, progress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindQuantiles

public FindQuantiles()
Method Detail

exec

public void exec(Tuple input,
                 DataBag output)
          throws IOException
first field in the input tuple is the number of quantiles to generate second field is the *sorted* bag of samples

Specified by:
exec in class EvalFunc<DataBag>
Parameters:
input - the Tuple to be processed.
Throws:
IOException


Copyright © ${year} The Apache Software Foundation