public class UDFPower extends UDF
| Constructor and Description |
|---|
UDFPower() |
| Modifier and Type | Method and Description |
|---|---|
DoubleWritable |
evaluate(DoubleWritable a,
DoubleWritable b)
Raise a to the power of b.
|
DoubleWritable |
evaluate(DoubleWritable a,
IntWritable b)
Raise a to the power of b.
|
HiveDecimalWritable |
evaluate(HiveDecimalWritable a,
IntWritable b)
Raise a to the power of b
|
getRequiredFiles, getRequiredJars, getResolver, setResolverpublic DoubleWritable evaluate(DoubleWritable a, DoubleWritable b)
public DoubleWritable evaluate(DoubleWritable a, IntWritable b)
public HiveDecimalWritable evaluate(HiveDecimalWritable a, IntWritable b)
Copyright © 2012 The Apache Software Foundation