public class GetEstimate extends org.apache.pig.EvalFunc<Double>
| Constructor and Description |
|---|
GetEstimate()
Constructor with default seed
|
GetEstimate(String seed)
Constructor with given seed
|
| Modifier and Type | Method and Description |
|---|---|
Double |
exec(org.apache.pig.data.Tuple sketchTuple) |
allowCompileTimeCalculation, finish, getArgToFuncMapping, getCacheFiles, getInputSchema, getLoadCaster, getLogger, getPigLogger, getReporter, getReturnType, getSchemaName, getSchemaType, getShipFiles, isAsynchronous, needEndOfAllInputProcessing, outputSchema, progress, setEndOfAllInput, setInputSchema, setPigLogger, setReporter, setUDFContextSignature, warnpublic GetEstimate()
public GetEstimate(String seed)
seed - in a form of a Stringpublic Double exec(org.apache.pig.data.Tuple sketchTuple) throws IOException
exec in class org.apache.pig.EvalFunc<Double>IOExceptionCopyright © 2015–2020 The Apache Software Foundation. All rights reserved.