Class ExpressionProcessing


  • public class ExpressionProcessing
    extends Object
    Like NullHandling, except for expressions processing configs
    • Constructor Detail

      • ExpressionProcessing

        public ExpressionProcessing()
    • 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 initialize INSTANCE
      • initializeForStrictBooleansTests

        public static void initializeForStrictBooleansTests​(boolean useStrict)
      • initializeForHomogenizeNullMultiValueStrings

        public static void initializeForHomogenizeNullMultiValueStrings()
      • useStrictBooleans

        public static boolean useStrictBooleans()
        All boolean expressions are ExpressionType.LONG
      • 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'