public class ArrayOfDoublesSketchToQuantilesSketch
extends org.apache.pig.EvalFunc<org.apache.pig.data.DataByteArray>
| Constructor and Description |
|---|
ArrayOfDoublesSketchToQuantilesSketch()
Constructor with default parameter k for quantiles sketch
|
ArrayOfDoublesSketchToQuantilesSketch(String k)
Constructor with a given parameter k for quantiles sketch
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.pig.data.DataByteArray |
exec(org.apache.pig.data.Tuple input) |
allowCompileTimeCalculation, finish, getArgToFuncMapping, getCacheFiles, getInputSchema, getLoadCaster, getLogger, getPigLogger, getReporter, getReturnType, getSchemaName, getSchemaType, getShipFiles, isAsynchronous, needEndOfAllInputProcessing, outputSchema, progress, setEndOfAllInput, setInputSchema, setPigLogger, setReporter, setUDFContextSignature, warnpublic ArrayOfDoublesSketchToQuantilesSketch()
public ArrayOfDoublesSketchToQuantilesSketch(String k)
k - string representation of the parameter k that determines the accuracy
and size of the quantiles sketchpublic org.apache.pig.data.DataByteArray exec(org.apache.pig.data.Tuple input)
throws IOException
exec in class org.apache.pig.EvalFunc<org.apache.pig.data.DataByteArray>IOExceptionCopyright © 2015–2020 The Apache Software Foundation. All rights reserved.