public class GenericUDFOPMultiply 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 |
---|
GenericUDFOPMultiply() |
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) |
adjustPrecScale, copyToNewInstance, deriveResultApproxTypeInfo, deriveResultDecimalTypeInfo, deriveResultExactTypeInfo, evaluate, getTypeInfo, initialize, isAnsiSqlArithmetic, isConfLookupNeeded, setAnsiSqlArithmetic, setConfLookupNeeded, setTypeInfo
getDisplayString
adapt, checkArgGroups, checkArgPrimitive, checkArgsSize, close, configure, flip, getArgOrder, getConstantBooleanValue, getConstantIntValue, getConstantStringValue, getDateValue, getDoubleValue, getFuncName, getIntervalDayTimeValue, getIntervalYearMonthValue, 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 © 2022 The Apache Software Foundation. All rights reserved.