|
||||||||||
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(BooleanWritable i)
Convert from boolean to a double. |
DoubleWritable |
evaluate(FloatWritable i)
Convert from float to a double. |
DoubleWritable |
evaluate(IntWritable i)
Convert from integer to a double. |
DoubleWritable |
evaluate(LongWritable i)
Convert from long to a double. |
DoubleWritable |
evaluate(NullWritable i)
Convert from void to a double. |
DoubleWritable |
evaluate(Text i)
Convert from string to a double. |
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(NullWritable i)
i
- The void value to convert
public DoubleWritable evaluate(BooleanWritable i)
i
- The boolean value to convert
public DoubleWritable evaluate(IntWritable i)
i
- The integer value to convert
public DoubleWritable evaluate(LongWritable i)
i
- The long value to convert
public DoubleWritable evaluate(FloatWritable i)
i
- The float value to convert
public DoubleWritable evaluate(Text i)
i
- The string value to convert
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |