public static final org.apache.commons.logging.Log LOG
The Constant LOG.
Method Detail
initialize
public org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector initialize(org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector[] objectInspectors)
throws org.apache.hadoop.hive.ql.exec.UDFArgumentException
Currently we only support double as the return value.
Specified by:
initialize in class org.apache.hadoop.hive.ql.udf.generic.GenericUDF
Parameters:
objectInspectors - the object inspectors
Returns:
the object inspector
Throws:
org.apache.hadoop.hive.ql.exec.UDFArgumentException - the UDF argument exception
evaluate
public Objectevaluate(org.apache.hadoop.hive.ql.udf.generic.GenericUDF.DeferredObject[] deferredObjects)
throws org.apache.hadoop.hive.ql.metadata.HiveException
Specified by:
evaluate in class org.apache.hadoop.hive.ql.udf.generic.GenericUDF