public class GenericUDFOPMod extends GenericUDFBaseNumeric
GenericUDF.DeferredJavaObject, GenericUDF.DeferredObject
ansiSqlArithmetic, byteWritable, confLookupNeeded, converterLeft, converterRight, decimalWritable, doubleWritable, floatWritable, intWritable, leftOI, longWritable, MINIMUM_ADJUSTED_SCALE, resultOI, rightOI, shortWritable
opDisplayName, opName
Constructor and Description |
---|
GenericUDFOPMod() |
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 org.apache.hadoop.hive.serde2.io.HiveDecimalWritable |
evaluate(org.apache.hadoop.hive.common.type.HiveDecimal left,
org.apache.hadoop.hive.common.type.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) |
adjustPrecScale, copyToNewInstance, deriveResultApproxTypeInfo, deriveResultDecimalTypeInfo, deriveResultExactTypeInfo, evaluate, initialize, isAnsiSqlArithmetic, isConfLookupNeeded, setAnsiSqlArithmetic, setConfLookupNeeded
getDisplayString
checkArgGroups, checkArgPrimitive, checkArgsSize, close, configure, flip, getArgOrder, getConstantBooleanValue, getConstantIntValue, 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 org.apache.hadoop.hive.serde2.io.HiveDecimalWritable evaluate(org.apache.hadoop.hive.common.type.HiveDecimal left, org.apache.hadoop.hive.common.type.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.