Package org.apache.druid.math.expr
Class ExpressionProcessing
- java.lang.Object
-
- org.apache.druid.math.expr.ExpressionProcessing
-
public class ExpressionProcessing extends Object
LikeNullHandling, except for expressions processing configs
-
-
Constructor Summary
Constructors Constructor Description ExpressionProcessing()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanallowVectorizeFallback()static voidinitializeForFallback()static voidinitializeForHomogenizeNullMultiValueStrings()static voidinitializeForTests()Many unit tests do not setup modules for this value to be injected, this method provides a manual way to initializeINSTANCEstatic booleanisHomogenizeNullMultiValueStringArrays()All multi-value string expression input values of 'null', '[]', and '[null]' will be coerced to '[null]'.static booleanprocessArraysAsMultiValueStrings()AllExprType.ARRAYvalues will be converted toExpressionType.STRINGby their column selectors (not within expression processing) to be treated as multi-value strings instead of native arrays.
-
-
-
Method Detail
-
initializeForTests
public static void initializeForTests()
Many unit tests do not setup modules for this value to be injected, this method provides a manual way to initializeINSTANCE
-
initializeForHomogenizeNullMultiValueStrings
public static void initializeForHomogenizeNullMultiValueStrings()
-
initializeForFallback
public static void initializeForFallback()
-
processArraysAsMultiValueStrings
public static boolean processArraysAsMultiValueStrings()
AllExprType.ARRAYvalues will be converted toExpressionType.STRINGby their column selectors (not within expression processing) to be treated as multi-value strings instead of native arrays.
-
isHomogenizeNullMultiValueStringArrays
public static boolean isHomogenizeNullMultiValueStringArrays()
All multi-value string expression input values of 'null', '[]', and '[null]' will be coerced to '[null]'. If false, (the default) this will only be done when single value expressions are implicitly mapped across multi-value rows, so that the single valued expression will always be evaluated with an input value of 'null'
-
allowVectorizeFallback
public static boolean allowVectorizeFallback()
-
-