|
||||||||||
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.UDFToShort
public class UDFToShort
Constructor Summary | |
---|---|
UDFToShort()
|
Method Summary | |
---|---|
Short |
evaluate(Boolean i)
Convert from boolean to a short. |
Short |
evaluate(Byte i)
Convert from byte to a short. |
Short |
evaluate(Date i)
Convert from date to a short. |
Short |
evaluate(Double i)
Convert from double to a short. |
Short |
evaluate(Float i)
Convert from float to a short. |
Short |
evaluate(Integer i)
Convert from integer to a short. |
Short |
evaluate(Long i)
Convert from long to a short. |
Short |
evaluate(String i)
Convert from string to a short. |
Short |
evaluate(Void i)
Convert from void to a short. |
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 UDFToShort()
Method Detail |
---|
public Short evaluate(Void i)
i
- The void value to convert
public Short evaluate(Boolean i)
i
- The boolean value to convert
public Short evaluate(Byte i)
i
- The byte value to convert
public Short evaluate(Integer i)
i
- The integer value to convert
public Short evaluate(Long i)
i
- The long value to convert
public Short evaluate(Float i)
i
- The float value to convert
public Short evaluate(Double i)
i
- The double value to convert
public Short evaluate(String i)
i
- The string value to convert
public Short 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 |