|
||||||||||
| 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
UDFToByte.
| Constructor Summary | |
|---|---|
UDFToByte()
|
|
| Method Summary | |
|---|---|
ByteWritable |
evaluate(BooleanWritable i)
Convert from boolean to a byte. |
ByteWritable |
evaluate(FloatWritable i)
Convert from float to a byte. |
ByteWritable |
evaluate(IntWritable i)
Convert from integer to a byte. |
ByteWritable |
evaluate(LongWritable i)
Convert from long to a byte. |
ByteWritable |
evaluate(NullWritable i)
Convert from void to a byte. |
ByteWritable |
evaluate(Text i)
Convert from string to a byte. |
| 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 UDFToByte()
| Method Detail |
|---|
public ByteWritable evaluate(NullWritable i)
i - The void value to convert
public ByteWritable evaluate(BooleanWritable i)
i - The boolean value to convert
public ByteWritable evaluate(IntWritable i)
i - The integer value to convert
public ByteWritable evaluate(LongWritable i)
i - The long value to convert
public ByteWritable evaluate(FloatWritable i)
i - The float value to convert
public ByteWritable 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 | |||||||||