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

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

public class UDFRound
extends UDF

UDFRound.


Constructor Summary
UDFRound()
           
 
Method Summary
 BigDecimalWritable evaluate(BigDecimalWritable n)
           
 BigDecimalWritable evaluate(BigDecimalWritable n, org.apache.hadoop.io.IntWritable i)
           
 DoubleWritable evaluate(DoubleWritable n)
           
 DoubleWritable evaluate(DoubleWritable n, org.apache.hadoop.io.IntWritable i)
           
 
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

UDFRound

public UDFRound()
Method Detail

evaluate

public DoubleWritable evaluate(DoubleWritable n)

evaluate

public DoubleWritable evaluate(DoubleWritable n,
                               org.apache.hadoop.io.IntWritable i)

evaluate

public BigDecimalWritable evaluate(BigDecimalWritable n)

evaluate

public BigDecimalWritable evaluate(BigDecimalWritable n,
                                   org.apache.hadoop.io.IntWritable i)


Copyright © 2013 The Apache Software Foundation