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

UDFLog2.


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

UDFLog2

public UDFLog2()
Method Detail

evaluate

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



Copyright © 2013 The Apache Software Foundation