org.apache.pig.impl.builtin
Class FindQuantiles
java.lang.Object
org.apache.pig.EvalFunc<DataBag>
org.apache.pig.impl.builtin.FindQuantiles
public class FindQuantiles
- extends EvalFunc<DataBag>
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FindQuantiles
public FindQuantiles()
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