Package org.h2.mode

Class FunctionsMSSQLServer

    • Constructor Detail

      • FunctionsMSSQLServer

        private FunctionsMSSQLServer​(FunctionInfo info)
    • Method Detail

      • getFunction

        public static FunctionsMSSQLServer 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
      • checkParameterCount

        protected void checkParameterCount​(int len)
        Description copied from class: ModeFunction
        Check if the parameter count is correct.
        Overrides:
        checkParameterCount in class ModeFunction
        Parameters:
        len - the number of parameters set
      • 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