| Package | Description |
|---|---|
| org.apache.hadoop.hive.ql.exec.vector.expressions | |
| org.apache.hadoop.hive.ql.udf.generic |
Standard toolkit and framework for generic User-defined functions.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CastLongToDecimal64
To be used to cast long and boolean to decimal.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GenericUDFIf
IF(expr1,expr2,expr3)
If expr1 is TRUE (expr1 <> 0 and expr1 <> NULL) then IF() returns expr2; otherwise it returns expr3. |
class |
GenericUDFOPDivide
Note that in SQL, the return type of divide is not necessarily the same
as the parameters.
|
class |
GenericUDFOPEqual
GenericUDF Class for operation EQUAL.
|
class |
GenericUDFOPEqualOrGreaterThan
GenericUDF Class for operation EqualOrGreaterThan.
|
class |
GenericUDFOPEqualOrLessThan
GenericUDF Class for operation EqualOrLessThan.
|
class |
GenericUDFOPGreaterThan
GenericUDF Class for operation GreaterThan.
|
class |
GenericUDFOPLessThan
GenericUDF Class for operation LessThan.
|
class |
GenericUDFOPMinus |
class |
GenericUDFOPMultiply |
class |
GenericUDFOPNotEqual
GenericUDF Class for operation Not EQUAL.
|
class |
GenericUDFOPPlus
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 |
GenericUDFOPScaleUpDecimal64 |
Copyright © 2022 The Apache Software Foundation. All rights reserved.