public class UDFLog extends UDF
| Constructor and Description |
|---|
UDFLog() |
| Modifier and Type | Method and Description |
|---|---|
DoubleWritable |
evaluate(DoubleWritable a)
Returns the natural logarithm of "a".
|
DoubleWritable |
evaluate(DoubleWritable base,
DoubleWritable a)
Returns the logarithm of "a" with base "base".
|
getRequiredFiles, getRequiredJars, getResolver, setResolverpublic DoubleWritable evaluate(DoubleWritable a)
public DoubleWritable evaluate(DoubleWritable base, DoubleWritable a)
Copyright © 2012 The Apache Software Foundation