Class ConcatFunctionModifier


  • public class ConcatFunctionModifier
    extends FunctionModifier
    This Function modifier used to support ANSI concat on Oracle 9i. CONCAT(a, b) ==> CASE WHEN (a is NULL OR b is NULL) THEN NULL ELSE CONCAT(a, b)
    • Constructor Detail

      • ConcatFunctionModifier

        public ConcatFunctionModifier​(LanguageFactory langFactory)
        Parameters:
        langFactory -
    • Method Detail

      • translate

        public List<?> translate​(Function function)
        Description copied from class: FunctionModifier
        Return a List of translated parts (LanguageObjects and Objects), or null if this FunctionModifier wishes to rely on the default translation of the conversion visitor.
        Specified by:
        translate in class FunctionModifier
        Parameters:
        function - IFunction to be translated
        Returns:
        List of translated parts, or null
      • isNotNull

        public static boolean isNotNull​(Expression expr)