public class CurrentTime extends EvalFunc<org.joda.time.DateTime>
EvalFunc.SchemaType
log, pigLogger, reporter, returnType
Constructor and Description |
---|
CurrentTime()
This is a default constructor for Pig reflection purposes.
|
Modifier and Type | Method and Description |
---|---|
boolean |
allowCompileTimeCalculation()
Whether the UDF should be evaluated at compile time if all inputs are constant.
|
org.joda.time.DateTime |
exec(Tuple input)
This callback method must be implemented by all subclasses.
|
finish, getArgToFuncMapping, getCacheFiles, getInputSchema, getLoadCaster, getLogger, getPigLogger, getReporter, getReturnType, getSchemaName, getSchemaType, getShipFiles, isAsynchronous, needEndOfAllInputProcessing, outputSchema, progress, setEndOfAllInput, setInputSchema, setPigLogger, setReporter, setUDFContextSignature, warn
public CurrentTime()
public org.joda.time.DateTime exec(Tuple input) throws java.io.IOException
EvalFunc
public boolean allowCompileTimeCalculation()
EvalFunc
allowCompileTimeCalculation
in class EvalFunc<org.joda.time.DateTime>
Copyright © 2007-2017 The Apache Software Foundation