Package org.apache.druid.math.expr
Class ExpressionProcessing
java.lang.Object
org.apache.druid.math.expr.ExpressionProcessing
Expressions processing configs
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstatic voidstatic voidMany unit tests do not setup modules for this value to be injected, this method provides a manual way to initializeINSTANCEstatic booleanAll multi-value string expression input values of 'null', '[]', and '[null]' will be coerced to '[null]'.static booleanAllExprType.ARRAYvalues will be converted toExpressionType.STRINGby their column selectors (not within expression processing) to be treated as multi-value strings instead of native arrays.
-
Constructor Details
-
ExpressionProcessing
public ExpressionProcessing()
-
-
Method Details
-
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() -
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()
-