org.apache.hadoop.hive.ql.udf
Class UDFHex

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.UDF
      extended by org.apache.hadoop.hive.ql.udf.UDFHex

public class UDFHex
extends UDF

UDFHex.


Constructor Summary
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 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

UDFHex

public UDFHex()
Method Detail

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