|
||||||||||
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.UDFToByte
public class UDFToByte
Constructor Summary | |
---|---|
UDFToByte()
|
Method Summary | |
---|---|
Byte |
evaluate(Boolean i)
Convert from boolean to a byte. |
Byte |
evaluate(Date i)
Convert from date to a Byte. |
Byte |
evaluate(Double i)
Convert from double to a byte. |
Byte |
evaluate(Float i)
Convert from float to a byte. |
Byte |
evaluate(Integer i)
Convert from integer to a byte. |
Byte |
evaluate(Long i)
Convert from long to a byte. |
Byte |
evaluate(Short i)
Convert from short to a byte. |
Byte |
evaluate(String i)
Convert from string to a byte. |
Byte |
evaluate(Void i)
Convert from void to a byte. |
Methods inherited from class org.apache.hadoop.hive.ql.exec.UDF |
---|
getResolver, setResolver |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UDFToByte()
Method Detail |
---|
public Byte evaluate(Void i)
i
- The void value to convert
public Byte evaluate(Boolean i)
i
- The boolean value to convert
public Byte evaluate(Short i)
i
- The short value to convert
public Byte evaluate(Integer i)
i
- The integer value to convert
public Byte evaluate(Long i)
i
- The long value to convert
public Byte evaluate(Float i)
i
- The float value to convert
public Byte evaluate(Double i)
i
- The double value to convert
public Byte evaluate(String i)
i
- The string value to convert
public Byte evaluate(Date i)
i
- The date value to convert
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |