public class DataToSketchAlgebraicIntermediate
extends org.apache.pig.EvalFunc<org.apache.pig.data.Tuple>
| Constructor and Description |
|---|
DataToSketchAlgebraicIntermediate()
Default constructor for the intermediate pass of an Algebraic function.
|
DataToSketchAlgebraicIntermediate(String lgK)
Constructor for the intermediate pass of an Algebraic function.
|
DataToSketchAlgebraicIntermediate(String lgK,
String tgtHllType)
Constructor for the intermediate pass of an Algebraic function.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.pig.data.Tuple |
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, warnpublic DataToSketchAlgebraicIntermediate()
public DataToSketchAlgebraicIntermediate(String lgK)
lgK - in a form of a Stringpublic DataToSketchAlgebraicIntermediate(String lgK, String tgtHllType)
lgK - parameter controlling the sketch size and accuracytgtHllType - HLL type of the resulting sketchpublic org.apache.pig.data.Tuple exec(org.apache.pig.data.Tuple inputTuple)
throws IOException
exec in class org.apache.pig.EvalFunc<org.apache.pig.data.Tuple>IOExceptionCopyright © 2015–2020 The Apache Software Foundation. All rights reserved.