org.apache.hadoop.hive.ql.udf.generic
Class GenericUDFUnixTimeStamp
java.lang.Object
org.apache.hadoop.hive.ql.udf.generic.GenericUDF
org.apache.hadoop.hive.ql.udf.generic.GenericUDFToUnixTimeStamp
org.apache.hadoop.hive.ql.udf.generic.GenericUDFUnixTimeStamp
- All Implemented Interfaces:
- Closeable
public class GenericUDFUnixTimeStamp
- extends GenericUDFToUnixTimeStamp
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericUDFUnixTimeStamp
public GenericUDFUnixTimeStamp()
initializeInput
protected void initializeInput(ObjectInspector[] arguments)
throws UDFArgumentException
- Overrides:
initializeInput
in class GenericUDFToUnixTimeStamp
- Throws:
UDFArgumentException
getName
protected String getName()
- Overrides:
getName
in class GenericUDFToUnixTimeStamp
evaluate
public Object evaluate(GenericUDF.DeferredObject[] arguments)
throws HiveException
- Description copied from class:
GenericUDF
- Evaluate the GenericUDF with the arguments.
- Overrides:
evaluate
in class GenericUDFToUnixTimeStamp
- Parameters:
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.
- Returns:
- The
- Throws:
HiveException
Copyright © 2012 The Apache Software Foundation