public class UnionSketchAlgebraicFinal
extends org.apache.pig.EvalFunc<org.apache.pig.data.DataByteArray>
Constructor and Description |
---|
UnionSketchAlgebraicFinal()
Default constructor for the final pass of an Algebraic function.
|
UnionSketchAlgebraicFinal(String lgK)
Constructor for the final pass of an Algebraic function.
|
UnionSketchAlgebraicFinal(String lgK,
String seed)
Constructor for the final pass of an Algebraic function.
|
Modifier and Type | Method and Description |
---|---|
org.apache.pig.data.DataByteArray |
exec(org.apache.pig.data.Tuple inputTuple) |
allowCompileTimeCalculation, finish, getArgToFuncMapping, getCacheFiles, getInputSchema, getLoadCaster, getLogger, getPigLogger, getReporter, getReturnType, getSchemaName, getSchemaType, getShipFiles, isAsynchronous, needEndOfAllInputProcessing, outputSchema, progress, setEndOfAllInput, setInputSchema, setPigLogger, setReporter, setUDFContextSignature, warn
public UnionSketchAlgebraicFinal()
public UnionSketchAlgebraicFinal(String lgK)
lgK
- in a form of a Stringpublic UnionSketchAlgebraicFinal(String lgK, String seed)
lgK
- parameter controlling the sketch size and accuracyseed
- for the hash functionpublic org.apache.pig.data.DataByteArray exec(org.apache.pig.data.Tuple inputTuple) 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.