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

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

public class UDFPower
extends UDF

UDFPower.


Constructor Summary
UDFPower()
           
 
Method Summary
 BigDecimalWritable evaluate(BigDecimalWritable a, org.apache.hadoop.io.IntWritable b)
          Raise a to the power of b
 DoubleWritable evaluate(DoubleWritable a, DoubleWritable b)
          Raise a to the power of b.
 DoubleWritable evaluate(DoubleWritable a, org.apache.hadoop.io.IntWritable b)
          Raise a to the power of 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

UDFPower

public UDFPower()
Method Detail

evaluate

public DoubleWritable evaluate(DoubleWritable a,
                               DoubleWritable b)
Raise a to the power of b.


evaluate

public DoubleWritable evaluate(DoubleWritable a,
                               org.apache.hadoop.io.IntWritable b)
Raise a to the power of b.


evaluate

public BigDecimalWritable evaluate(BigDecimalWritable a,
                                   org.apache.hadoop.io.IntWritable b)
Raise a to the power of b



Copyright © 2013 The Apache Software Foundation