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
 Text evaluate(IntWritable n)
           
 Text evaluate(LongWritable n)
           
 Text evaluate(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 Text evaluate(LongWritable n)

evaluate

public Text evaluate(IntWritable n)

evaluate

public Text evaluate(Text s)
Convert every character in s to two hex digits.



Copyright © 2012 The Apache Software Foundation