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

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

public class UDFOPMod
extends UDFBaseNumericOp

UDFOPMod.


Field Summary
 
Fields inherited from class org.apache.hadoop.hive.ql.udf.UDFBaseNumericOp
bigDecimalWritable, byteWritable, doubleWritable, floatWritable, intWritable, longWritable, shortWritable
 
Constructor Summary
UDFOPMod()
           
 
Method Summary
 ByteWritable evaluate(ByteWritable a, ByteWritable b)
           
 FloatWritable evaluate(FloatWritable a, FloatWritable b)
           
 IntWritable evaluate(IntWritable a, IntWritable b)
           
 LongWritable evaluate(LongWritable a, LongWritable b)
           
 ShortWritable evaluate(ShortWritable a, ShortWritable b)
           
 
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

UDFOPMod

public UDFOPMod()
Method Detail

evaluate

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

evaluate

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

evaluate

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

evaluate

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

evaluate

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


Copyright © 2012 The Apache Software Foundation