org.apache.hadoop.hive.ql.udf
Class UDFHex
java.lang.Object
org.apache.hadoop.hive.ql.exec.UDF
org.apache.hadoop.hive.ql.udf.UDFHex
public class UDFHex
- extends UDF
UDFHex.
Method Summary |
org.apache.hadoop.io.Text |
evaluate(org.apache.hadoop.io.IntWritable n)
|
org.apache.hadoop.io.Text |
evaluate(org.apache.hadoop.io.LongWritable n)
|
org.apache.hadoop.io.Text |
evaluate(org.apache.hadoop.io.Text s)
Convert every character in s to two hex digits. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UDFHex
public UDFHex()
evaluate
public org.apache.hadoop.io.Text evaluate(org.apache.hadoop.io.LongWritable n)
evaluate
public org.apache.hadoop.io.Text evaluate(org.apache.hadoop.io.IntWritable n)
evaluate
public org.apache.hadoop.io.Text evaluate(org.apache.hadoop.io.Text s)
- Convert every character in s to two hex digits.
Copyright © 2013 The Apache Software Foundation