public abstract class DoubleDoubleBase extends Base
EvalFunc.SchemaType
log, pigLogger, reporter, returnType
Constructor and Description |
---|
DoubleDoubleBase() |
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.
|
outputSchema
allowCompileTimeCalculation, finish, getCacheFiles, getInputSchema, 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-2012 The Apache Software Foundation