org.apache.hadoop.hive.ql.udf.generic
Class GenericUDFOPPositive
java.lang.Object
org.apache.hadoop.hive.ql.udf.generic.GenericUDF
org.apache.hadoop.hive.ql.udf.generic.GenericUDFBaseUnary
org.apache.hadoop.hive.ql.udf.generic.GenericUDFOPPositive
- All Implemented Interfaces:
- Closeable
public class GenericUDFOPPositive
- extends GenericUDFBaseUnary
| Fields inherited from class org.apache.hadoop.hive.ql.udf.generic.GenericUDFBaseUnary |
byteWritable, converter, decimalWritable, doubleWritable, floatWritable, intWritable, longWritable, opDisplayName, opName, resultOI, shortWritable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericUDFOPPositive
public GenericUDFOPPositive()
evaluate
public Object evaluate(GenericUDF.DeferredObject[] arguments)
throws HiveException
- Description copied from class:
GenericUDF
- Evaluate the GenericUDF with the arguments.
- Specified by:
evaluate in class GenericUDF
- 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 © 2014 The Apache Software Foundation. All rights reserved.