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

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

public class UDFLog2
extends UDF


Constructor Summary
UDFLog2()
           
 
Method Summary
 Double evaluate(Double a)
          Returns the logarithm of "a" with base 2.
 
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

UDFLog2

public UDFLog2()
Method Detail

evaluate

public Double evaluate(Double a)
Returns the logarithm of "a" with base 2.



Copyright © 2009 The Apache Software Foundation