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