org.apache.hadoop.hive.ql.udf
Class UDFOPPositive

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.UDF
      extended by org.apache.hadoop.hive.ql.udf.UDFBaseNumericUnaryOp
          extended by org.apache.hadoop.hive.ql.udf.UDFOPPositive

public class UDFOPPositive
extends UDFBaseNumericUnaryOp

UDFOPPositive.


Field Summary
 
Fields inherited from class org.apache.hadoop.hive.ql.udf.UDFBaseNumericUnaryOp
bigDecimalWritable, byteWritable, doubleWritable, floatWritable, intWritable, longWritable, shortWritable
 
Constructor Summary
UDFOPPositive()
           
 
Method Summary
 ByteWritable evaluate(ByteWritable a)
           
 FloatWritable evaluate(FloatWritable a)
           
 IntWritable evaluate(IntWritable a)
           
 LongWritable evaluate(LongWritable a)
           
 ShortWritable evaluate(ShortWritable a)
           
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.UDF
getRequiredFiles, getRequiredJars, getResolver, setResolver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UDFOPPositive

public UDFOPPositive()
Method Detail

evaluate

public ByteWritable evaluate(ByteWritable a)
Specified by:
evaluate in class UDFBaseNumericUnaryOp

evaluate

public ShortWritable evaluate(ShortWritable a)
Specified by:
evaluate in class UDFBaseNumericUnaryOp

evaluate

public IntWritable evaluate(IntWritable a)
Specified by:
evaluate in class UDFBaseNumericUnaryOp

evaluate

public LongWritable evaluate(LongWritable a)
Specified by:
evaluate in class UDFBaseNumericUnaryOp

evaluate

public FloatWritable evaluate(FloatWritable a)
Specified by:
evaluate in class UDFBaseNumericUnaryOp


Copyright © 2012 The Apache Software Foundation