public class Assert extends EvalFunc<java.lang.Boolean>
EvalFunc.SchemaType
log, pigLogger, reporter, returnType
Constructor and Description |
---|
Assert() |
Modifier and Type | Method and Description |
---|---|
boolean |
allowCompileTimeCalculation()
Whether the UDF should be evaluated at compile time if all inputs are constant.
|
java.lang.Boolean |
exec(Tuple tuple)
This callback method must be implemented by all subclasses.
|
finish, getArgToFuncMapping, getCacheFiles, getInputSchema, getLogger, getPigLogger, getReporter, getReturnType, getSchemaName, getSchemaType, getShipFiles, isAsynchronous, outputSchema, progress, setInputSchema, setPigLogger, setReporter, setUDFContextSignature, warn
public java.lang.Boolean exec(Tuple tuple) throws java.io.IOException
EvalFunc
public boolean allowCompileTimeCalculation()
EvalFunc
allowCompileTimeCalculation
in class EvalFunc<java.lang.Boolean>
Copyright © 2007-2012 The Apache Software Foundation