|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.hive.ql.exec.UDF org.apache.hadoop.hive.ql.udf.UDFMath org.apache.hadoop.hive.ql.udf.UDFLog
public class UDFLog
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". |
DoubleWritable |
evaluate(DoubleWritable base,
HiveDecimalWritable writable)
Get the logarithm of the given decimal with the given base. |
DoubleWritable |
evaluate(HiveDecimalWritable base,
DoubleWritable d)
Get the logarithm of input with the given decimal as the base. |
DoubleWritable |
evaluate(HiveDecimalWritable baseWritable,
HiveDecimalWritable writable)
Get the logarithm of the given decimal input with the given decimal base. |
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 |
---|
public UDFLog()
Method Detail |
---|
public DoubleWritable evaluate(DoubleWritable a)
evaluate
in class UDFMath
public DoubleWritable evaluate(DoubleWritable base, DoubleWritable a)
public DoubleWritable evaluate(DoubleWritable base, HiveDecimalWritable writable)
public DoubleWritable evaluate(HiveDecimalWritable base, DoubleWritable d)
public DoubleWritable evaluate(HiveDecimalWritable baseWritable, HiveDecimalWritable writable)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |