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

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

public class UDFLog
extends UDF

UDFLog.


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

UDFLog

public UDFLog()
Method Detail

evaluate

public DoubleWritable evaluate(DoubleWritable a)
Returns the natural logarithm of "a".


evaluate

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



Copyright © 2011 The Apache Software Foundation