|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.ql.exec.UDF
org.apache.hadoop.hive.ql.udf.UDFToDouble
public class UDFToDouble
UDFToDouble.
Constructor Summary | |
---|---|
UDFToDouble()
|
Method Summary | |
---|---|
DoubleWritable |
evaluate(BigDecimalWritable i)
|
DoubleWritable |
evaluate(org.apache.hadoop.io.BooleanWritable i)
Convert from boolean to a double. |
DoubleWritable |
evaluate(ByteWritable i)
Convert from boolean to a double. |
DoubleWritable |
evaluate(org.apache.hadoop.io.FloatWritable i)
Convert from float to a double. |
DoubleWritable |
evaluate(org.apache.hadoop.io.IntWritable i)
Convert from integer to a double. |
DoubleWritable |
evaluate(org.apache.hadoop.io.LongWritable i)
Convert from long to a double. |
DoubleWritable |
evaluate(org.apache.hadoop.io.NullWritable i)
Convert from void to a double. |
DoubleWritable |
evaluate(ShortWritable i)
Convert from short to a double. |
DoubleWritable |
evaluate(org.apache.hadoop.io.Text i)
Convert from string to a double. |
DoubleWritable |
evaluate(TimestampWritable i)
|
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 |
---|
public UDFToDouble()
Method Detail |
---|
public DoubleWritable evaluate(org.apache.hadoop.io.NullWritable i)
i
- The void value to convert
public DoubleWritable evaluate(org.apache.hadoop.io.BooleanWritable i)
i
- The boolean value to convert
public DoubleWritable evaluate(ByteWritable i)
i
- The byte value to convert
public DoubleWritable evaluate(ShortWritable i)
i
- The short value to convert
public DoubleWritable evaluate(org.apache.hadoop.io.IntWritable i)
i
- The integer value to convert
public DoubleWritable evaluate(org.apache.hadoop.io.LongWritable i)
i
- The long value to convert
public DoubleWritable evaluate(org.apache.hadoop.io.FloatWritable i)
i
- The float value to convert
public DoubleWritable evaluate(org.apache.hadoop.io.Text i)
i
- The string value to convert
public DoubleWritable evaluate(TimestampWritable i)
public DoubleWritable evaluate(BigDecimalWritable i)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |