public class GenericUDFUnixTimeStamp extends GenericUDFToUnixTimeStamp
GenericUDF.DeferredJavaObject, GenericUDF.DeferredObject
retValue
Constructor and Description |
---|
GenericUDFUnixTimeStamp() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
evaluate(GenericUDF.DeferredObject[] arguments)
Evaluate the GenericUDF with the arguments.
|
protected java.lang.String |
getName() |
protected void |
initializeInput(ObjectInspector[] arguments) |
getDisplayString, initialize
close, configure, getRequiredFiles, getRequiredJars, initializeAndFoldConstants
protected void initializeInput(ObjectInspector[] arguments) throws UDFArgumentException
initializeInput
in class GenericUDFToUnixTimeStamp
UDFArgumentException
protected java.lang.String getName()
getName
in class GenericUDFToUnixTimeStamp
public java.lang.Object evaluate(GenericUDF.DeferredObject[] arguments) throws HiveException
GenericUDF
evaluate
in class GenericUDFToUnixTimeStamp
arguments
- The arguments as DeferedObject, use DeferedObject.get() to get the
actual argument Object. The Objects can be inspected by the
ObjectInspectors passed in the initialize call.HiveException
Copyright © 2012 The Apache Software Foundation