org.apache.hadoop.hive.ql.udf
Class UDFBaseNumericUnaryOp
java.lang.Object
org.apache.hadoop.hive.ql.exec.UDF
org.apache.hadoop.hive.ql.udf.UDFBaseNumericUnaryOp
- Direct Known Subclasses:
- UDFOPNegative, UDFOPPositive
public abstract class UDFBaseNumericUnaryOp
- extends UDF
Base class for numeric operators like +, -, / etc. All these operators share
a common method resolver (NumericOpMethodResolver).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
byteWritable
protected ByteWritable byteWritable
shortWritable
protected ShortWritable shortWritable
intWritable
protected IntWritable intWritable
longWritable
protected LongWritable longWritable
floatWritable
protected FloatWritable floatWritable
doubleWritable
protected DoubleWritable doubleWritable
bigDecimalWritable
protected BigDecimalWritable bigDecimalWritable
UDFBaseNumericUnaryOp
public UDFBaseNumericUnaryOp()
- Constructor.
evaluate
public abstract ByteWritable evaluate(ByteWritable a)
evaluate
public abstract ShortWritable evaluate(ShortWritable a)
evaluate
public abstract IntWritable evaluate(IntWritable a)
evaluate
public abstract LongWritable evaluate(LongWritable a)
evaluate
public abstract FloatWritable evaluate(FloatWritable a)
Copyright © 2012 The Apache Software Foundation