Package | Description |
---|---|
org.apache.hadoop.hive.ql.udf.generic |
Standard toolkit and framework for generic User-defined functions.
|
Modifier and Type | Class and Description |
---|---|
class |
GenericUDFOPDivide
Note that in SQL, the return type of divide is not necessarily the same
as the parameters.
|
class |
GenericUDFOPMod |
class |
GenericUDFOPMultiply |
class |
GenericUDFOPNumericMinus |
class |
GenericUDFOPNumericPlus
The reason that we list evaluate methods with all numeric types is for both
better performance and type checking (so we know int + int is still an int
instead of a double); otherwise a single method that takes (Number a, Number
b) and use a.doubleValue() == b.doubleValue() is enough.
|
class |
GenericUDFPosMod
class for computing positive modulo.
|
Modifier and Type | Method and Description |
---|---|
protected GenericUDFBaseNumeric |
GenericUDFOPPlus.instantiateNumericUDF() |
protected GenericUDFBaseNumeric |
GenericUDFOPMinus.instantiateNumericUDF() |
protected abstract GenericUDFBaseNumeric |
GenericUDFBaseArithmetic.instantiateNumericUDF()
Instantiate numeric version of the arithmetic UDF
|
Copyright © 2016 The Apache Software Foundation. All rights reserved.