public class GenericUDFOPDivide extends GenericUDFBaseNumeric
GenericUDF.DeferredJavaObject, GenericUDF.DeferredObjectansiSqlArithmetic, byteWritable, confLookupNeeded, converterLeft, converterRight, decimalWritable, doubleWritable, floatWritable, intWritable, leftOI, longWritable, MINIMUM_ADJUSTED_SCALE, resultOI, rightOI, shortWritableopDisplayName, opName| Constructor and Description |
|---|
GenericUDFOPDivide() |
| Modifier and Type | Method and Description |
|---|---|
protected PrimitiveTypeInfo |
deriveResultApproxTypeInfo()
Default implementation for getting the approximate type info for the operator result.
|
protected DecimalTypeInfo |
deriveResultDecimalTypeInfo(int prec1,
int scale1,
int prec2,
int scale2) |
protected PrimitiveTypeInfo |
deriveResultExactTypeInfo()
Default implementation for getting the exact type info for the operator result.
|
protected PrimitiveTypeInfo |
deriveResultExactTypeInfoAnsiSql() |
protected PrimitiveTypeInfo |
deriveResultExactTypeInfoBackwardsCompat() |
protected DoubleWritable |
evaluate(DoubleWritable left,
DoubleWritable 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) |
adjustPrecScale, copyToNewInstance, deriveResultDecimalTypeInfo, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, initialize, isAnsiSqlArithmetic, isConfLookupNeeded, setAnsiSqlArithmetic, setConfLookupNeededgetDisplayStringcheckArgGroups, 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, obtainTimestampConverterprotected PrimitiveTypeInfo deriveResultExactTypeInfo()
GenericUDFBaseNumericderiveResultExactTypeInfo in class GenericUDFBaseNumericprotected PrimitiveTypeInfo deriveResultExactTypeInfoAnsiSql()
protected PrimitiveTypeInfo deriveResultExactTypeInfoBackwardsCompat()
protected PrimitiveTypeInfo deriveResultApproxTypeInfo()
GenericUDFBaseNumericderiveResultApproxTypeInfo in class GenericUDFBaseNumericprotected DoubleWritable evaluate(DoubleWritable left, DoubleWritable right)
evaluate in class GenericUDFBaseNumericprotected 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 GenericUDFBaseNumericprotected DecimalTypeInfo deriveResultDecimalTypeInfo(int prec1, int scale1, int prec2, int scale2)
deriveResultDecimalTypeInfo in class GenericUDFBaseNumericCopyright © 2019 The Apache Software Foundation. All Rights Reserved.