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

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.UDF
      extended by org.apache.hadoop.hive.ql.udf.UDFBaseNumericOp
          extended by org.apache.hadoop.hive.ql.udf.UDFOPMinus

public class UDFOPMinus
extends UDFBaseNumericOp


Constructor Summary
UDFOPMinus()
           
 
Method Summary
 Byte evaluate(Byte a, Byte b)
           
 Double evaluate(Double a, Double b)
           
 Float evaluate(Float a, Float b)
           
 Integer evaluate(Integer a, Integer b)
           
 Long evaluate(Long a, Long b)
           
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.UDF
getResolver, setResolver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UDFOPMinus

public UDFOPMinus()
Method Detail

evaluate

public Byte evaluate(Byte a,
                     Byte b)
Specified by:
evaluate in class UDFBaseNumericOp

evaluate

public Integer evaluate(Integer a,
                        Integer b)
Specified by:
evaluate in class UDFBaseNumericOp

evaluate

public Long evaluate(Long a,
                     Long b)
Specified by:
evaluate in class UDFBaseNumericOp

evaluate

public Float evaluate(Float a,
                      Float b)
Specified by:
evaluate in class UDFBaseNumericOp

evaluate

public Double evaluate(Double a,
                       Double b)
Specified by:
evaluate in class UDFBaseNumericOp


Copyright © 2009 The Apache Software Foundation