org.apache.hadoop.hive.ql.udf
Class UDFConv
java.lang.Object
org.apache.hadoop.hive.ql.exec.UDF
org.apache.hadoop.hive.ql.udf.UDFConv
public class UDFConv
- extends UDF
UDFConv.
Method Summary |
Text |
evaluate(Text n,
IntWritable fromBase,
IntWritable toBase)
Convert numbers between different number bases. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UDFConv
public UDFConv()
evaluate
public Text evaluate(Text n,
IntWritable fromBase,
IntWritable toBase)
- Convert numbers between different number bases. If toBase>0 the result is
unsigned, otherwise it is signed.
Copyright © 2012 The Apache Software Foundation