public class GenericUDFPosMod extends GenericUDFBaseNumeric
GenericUDF.DeferredJavaObject, GenericUDF.DeferredObject
ansiSqlArithmetic, byteWritable, confLookupNeeded, converterLeft, converterRight, decimalWritable, doubleWritable, floatWritable, intWritable, leftOI, longWritable, resultOI, rightOI, shortWritable
opDisplayName, opName
Constructor and Description |
---|
GenericUDFPosMod() |
Modifier and Type | Method and Description |
---|---|
protected DecimalTypeInfo |
deriveResultDecimalTypeInfo(int prec1,
int scale1,
int prec2,
int scale2) |
protected ByteWritable |
evaluate(ByteWritable left,
ByteWritable right) |
protected DoubleWritable |
evaluate(DoubleWritable left,
DoubleWritable right) |
protected org.apache.hadoop.io.FloatWritable |
evaluate(org.apache.hadoop.io.FloatWritable left,
org.apache.hadoop.io.FloatWritable right) |
protected HiveDecimalWritable |
evaluate(HiveDecimal left,
HiveDecimal right) |
protected org.apache.hadoop.io.IntWritable |
evaluate(org.apache.hadoop.io.IntWritable left,
org.apache.hadoop.io.IntWritable right) |
protected org.apache.hadoop.io.LongWritable |
evaluate(org.apache.hadoop.io.LongWritable left,
org.apache.hadoop.io.LongWritable right) |
protected ShortWritable |
evaluate(ShortWritable left,
ShortWritable right) |
copyToNewInstance, deriveResultApproxTypeInfo, deriveResultDecimalTypeInfo, deriveResultExactTypeInfo, evaluate, initialize, isAnsiSqlArithmetic, isConfLookupNeeded, setAnsiSqlArithmetic, setConfLookupNeeded
getDisplayString
checkArgGroups, checkArgPrimitive, checkArgsSize, close, configure, flip, getArgOrder, getConstantIntValue, getConstantLongValue, getConstantStringValue, getDateValue, getDoubleValue, getFuncName, getIntValue, getLongValue, getRequiredFiles, getRequiredJars, getStandardDisplayString, getStandardDisplayString, getStringValue, getTimestampValue, getUdfName, initializeAndFoldConstants, negative, obtainDateConverter, obtainDoubleConverter, obtainIntConverter, obtainLongConverter, obtainStringConverter, obtainTimestampConverter
protected ByteWritable evaluate(ByteWritable left, ByteWritable right)
evaluate
in class GenericUDFBaseNumeric
protected ShortWritable evaluate(ShortWritable left, ShortWritable right)
evaluate
in class GenericUDFBaseNumeric
protected org.apache.hadoop.io.IntWritable evaluate(org.apache.hadoop.io.IntWritable left, org.apache.hadoop.io.IntWritable right)
evaluate
in class GenericUDFBaseNumeric
protected org.apache.hadoop.io.LongWritable evaluate(org.apache.hadoop.io.LongWritable left, org.apache.hadoop.io.LongWritable right)
evaluate
in class GenericUDFBaseNumeric
protected org.apache.hadoop.io.FloatWritable evaluate(org.apache.hadoop.io.FloatWritable left, org.apache.hadoop.io.FloatWritable right)
evaluate
in class GenericUDFBaseNumeric
protected DoubleWritable evaluate(DoubleWritable left, DoubleWritable right)
evaluate
in class GenericUDFBaseNumeric
protected HiveDecimalWritable evaluate(HiveDecimal left, HiveDecimal right)
evaluate
in class GenericUDFBaseNumeric
protected DecimalTypeInfo deriveResultDecimalTypeInfo(int prec1, int scale1, int prec2, int scale2)
deriveResultDecimalTypeInfo
in class GenericUDFBaseNumeric
Copyright © 2017 The Apache Software Foundation. All rights reserved.