public class FunctionGenerationHelper extends Object implements FunctionNames
ADD, AND, COMPARE_TO_NULLS_HIGH, COMPARE_TO_NULLS_LOW, CONCAT, DIVIDE, EQ, GE, GT, IS_FALSE, IS_NOT_FALSE, IS_NOT_NULL, IS_NOT_TRUE, IS_NULL, IS_TRUE, LE, LIKE, LT, MODULO, MULTIPLY, NE, NEGATE, NOT, OR, SIMILAR_TO, SUBTRACT, XOR| Constructor and Description |
|---|
FunctionGenerationHelper() |
| Modifier and Type | Method and Description |
|---|---|
static LogicalExpression |
getOrderingComparator(boolean null_high,
ClassGenerator.HoldingContainer left,
ClassGenerator.HoldingContainer right,
FunctionLookupContext functionLookupContext)
Finds ordering comparator ("compare_to...") FunctionHolderExpression with
a specified ordering for NULL (and considering NULLS equal).
|
static LogicalExpression |
getOrderingComparatorNullsHigh(ClassGenerator.HoldingContainer left,
ClassGenerator.HoldingContainer right,
FunctionLookupContext registry)
Finds ordering comparator ("compare_to...") FunctionHolderExpression with
a "NULL high" ordering (and considering NULLS equal).
|
public static LogicalExpression getOrderingComparator(boolean null_high, ClassGenerator.HoldingContainer left, ClassGenerator.HoldingContainer right, FunctionLookupContext functionLookupContext)
null_high - whether NULL should compare as the lowest value (if
false) or the highest value (if true)left - ...right - ...functionLookupContext - ...public static LogicalExpression getOrderingComparatorNullsHigh(ClassGenerator.HoldingContainer left, ClassGenerator.HoldingContainer right, FunctionLookupContext registry)
left - ...right - ...registry - ...Copyright © 2022 The Apache Software Foundation. All rights reserved.