Package org.h2.mode

Class FunctionsDB2Derby

    • Field Detail

      • FUNCTIONS

        private static final java.util.HashMap<java.lang.String,​FunctionInfo> FUNCTIONS
      • IDENTITY_VAL_LOCAL_TYPE

        private static final TypeInfo IDENTITY_VAL_LOCAL_TYPE
    • Constructor Detail

      • FunctionsDB2Derby

        private FunctionsDB2Derby​(FunctionInfo info)
    • Method Detail

      • getFunction

        public static FunctionsDB2Derby 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