public class FrequentStringsSketchToEstimates
extends org.apache.pig.EvalFunc<org.apache.pig.data.DataBag>
| Constructor and Description |
|---|
FrequentStringsSketchToEstimates()
Instantiate UDF with default error type
|
FrequentStringsSketchToEstimates(String errorType)
Instantiate UDF with given error type
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.pig.data.DataBag |
exec(org.apache.pig.data.Tuple input) |
org.apache.pig.impl.logicalLayer.schema.Schema |
outputSchema(org.apache.pig.impl.logicalLayer.schema.Schema inputSchema) |
allowCompileTimeCalculation, finish, getArgToFuncMapping, getCacheFiles, getInputSchema, getLoadCaster, getLogger, getPigLogger, getReporter, getReturnType, getSchemaName, getSchemaType, getShipFiles, isAsynchronous, needEndOfAllInputProcessing, progress, setEndOfAllInput, setInputSchema, setPigLogger, setReporter, setUDFContextSignature, warnpublic FrequentStringsSketchToEstimates()
public FrequentStringsSketchToEstimates(String errorType)
errorType - string representation of error typepublic org.apache.pig.data.DataBag exec(org.apache.pig.data.Tuple input)
throws IOException
exec in class org.apache.pig.EvalFunc<org.apache.pig.data.DataBag>IOExceptionpublic org.apache.pig.impl.logicalLayer.schema.Schema outputSchema(org.apache.pig.impl.logicalLayer.schema.Schema inputSchema)
outputSchema in class org.apache.pig.EvalFunc<org.apache.pig.data.DataBag>Copyright © 2015–2020 The Apache Software Foundation. All rights reserved.