Class ExpressionProcessing

java.lang.Object
org.apache.druid.math.expr.ExpressionProcessing

public class ExpressionProcessing extends Object
Expressions processing configs
  • 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 initialize INSTANCE
    • initializeForHomogenizeNullMultiValueStrings

      public static void initializeForHomogenizeNullMultiValueStrings()
    • processArraysAsMultiValueStrings

      public static boolean processArraysAsMultiValueStrings()
      All ExprType.ARRAY values will be converted to ExpressionType.STRING by 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()