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