public class FunctionGenerationHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
COMPARE_TO_NULLS_HIGH |
static String |
COMPARE_TO_NULLS_LOW |
static String |
EQ |
static String |
GE |
static String |
GT |
static String |
LE |
static String |
LT |
static String |
NE |
| 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,
FunctionImplementationRegistry registry)
Finds ordering comparator ("compare_to...") FunctionHolderExpression with
a "NULL high" ordering (and considering NULLS equal).
|
public static final String COMPARE_TO_NULLS_HIGH
public static final String COMPARE_TO_NULLS_LOW
public static final String EQ
public static final String NE
public static final String GT
public static final String GE
public static final String LT
public static final String LE
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, FunctionImplementationRegistry registry)
left - ...right - ...registry - ...Copyright © 2017 The Apache Software Foundation. All rights reserved.