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.UDFMath
          extended by org.apache.hadoop.hive.ql.udf.UDFLog2

public class UDFLog2
extends UDFMath

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.udf.UDFMath
evaluate
 
Methods inherited from class org.apache.hadoop.hive.ql.exec.UDF
getRequiredFiles, getRequiredJars, getResolver, setResolver
 
Methods inherited from class java.lang.Object
equals, 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.

Specified by:
evaluate in class UDFMath


Copyright © 2014 The Apache Software Foundation. All rights reserved.