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

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.UDFOPNegative

public class UDFOPNegative
extends UDFBaseNumericUnaryOp

UDFOPNegative.


Field Summary
 
Fields inherited from class org.apache.hadoop.hive.ql.udf.UDFBaseNumericUnaryOp
bigDecimalWritable, byteWritable, doubleWritable, floatWritable, intWritable, longWritable, shortWritable
 
Constructor Summary
UDFOPNegative()
           
 
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

UDFOPNegative

public UDFOPNegative()
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