public class IsEmpty extends FilterFunc
EvalFunc.SchemaTypelog, pigLogger, reporter, returnType| Constructor and Description |
|---|
IsEmpty() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowCompileTimeCalculation()
Whether the UDF should be evaluated at compile time if all inputs are constant.
|
Boolean |
exec(Tuple input)
This callback method must be implemented by all subclasses.
|
finishgetArgToFuncMapping, getCacheFiles, getInputSchema, getLoadCaster, getLogger, getPigLogger, getReporter, getReturnType, getSchemaName, getSchemaType, getShipFiles, isAsynchronous, needEndOfAllInputProcessing, outputSchema, progress, setEndOfAllInput, setInputSchema, setPigLogger, setReporter, setUDFContextSignature, warnpublic Boolean exec(Tuple input) throws IOException
EvalFuncexec in class EvalFunc<Boolean>input - the Tuple to be processed.IOExceptionpublic boolean allowCompileTimeCalculation()
EvalFuncallowCompileTimeCalculation in class EvalFunc<Boolean>Copyright © 2007-2017 The Apache Software Foundation