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, warn
public 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>
IOException
Copyright © 2015–2019 The Apache Software Foundation. All rights reserved.