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