EvalFunc.SchemaTypelog, pigLogger, reporter, returnType| Constructor and Description |
|---|
DoubleBase() |
| Modifier and Type | Method and Description |
|---|---|
Double |
exec(Tuple input)
java level API
|
List<FuncSpec> |
getArgToFuncMapping()
Allow a UDF to specify type specific implementations of itself.
|
allowCompileTimeCalculation, outputSchemafinish, getCacheFiles, getInputSchema, getLoadCaster, getLogger, getPigLogger, getReporter, getReturnType, getSchemaName, getSchemaType, getShipFiles, isAsynchronous, needEndOfAllInputProcessing, progress, setEndOfAllInput, setInputSchema, setPigLogger, setReporter, setUDFContextSignature, warnpublic Double exec(Tuple input) throws IOException
exec in class EvalFunc<Double>input - expects a tuple with a single Double valueIOExceptionpublic List<FuncSpec> getArgToFuncMapping() throws FrontendException
EvalFuncgetArgToFuncMapping in class EvalFunc<Double>FrontendExceptionCopyright © 2007-2017 The Apache Software Foundation