public class UDFHex extends UDF
Constructor and Description |
---|
UDFHex() |
Modifier and Type | Method and Description |
---|---|
Text |
evaluate(BytesWritable b)
Convert bytes to a hex string
|
Text |
evaluate(IntWritable n) |
Text |
evaluate(LongWritable n) |
Text |
evaluate(Text s)
Convert every character in s to two hex digits.
|
getRequiredFiles, getRequiredJars, getResolver, setResolver
Copyright © 2012 The Apache Software Foundation