Package org.h2.mode

Class FunctionsLegacy

    • Constructor Detail

      • FunctionsLegacy

        private FunctionsLegacy​(FunctionInfo info)
    • Method Detail

      • getFunction

        public static FunctionsLegacy getFunction​(java.lang.String upperName)
        Returns mode-specific function for a given name, or null.
        Parameters:
        upperName - the upper-case name of a function
        Returns:
        the function with specified name or null
      • getValue

        public Value getValue​(SessionLocal session)
        Description copied from class: Expression
        Return the resulting value for the current row.
        Overrides:
        getValue in class FunctionN
        Parameters:
        session - the session
        Returns:
        the result
      • optimize

        public Expression optimize​(SessionLocal session)
        Description copied from class: Expression
        Try to optimize the expression.
        Specified by:
        optimize in class Expression
        Parameters:
        session - the session
        Returns:
        the optimized expression