类 SQLFunctionRegistry


  • public class SQLFunctionRegistry
    extends Object
    Defines a registry for SQLFunction instances
    作者:
    Steve Ebersole
    • 构造器详细资料

      • SQLFunctionRegistry

        public SQLFunctionRegistry​(Dialect dialect,
                                   Map<String,​SQLFunction> userFunctionMap)
        Constructs a SQLFunctionRegistry
        参数:
        dialect - The dialect
        userFunctionMap - Any application-supplied function definitions
    • 方法详细资料

      • findSQLFunction

        public SQLFunction findSQLFunction​(String functionName)
        Find a SQLFunction by name
        参数:
        functionName - The name of the function to locate
        返回:
        The located function, maye return null
      • hasFunction

        public boolean hasFunction​(String functionName)
        Does this registry contain the named function
        参数:
        functionName - The name of the function to attempt to locate
        返回:
        true if the registry contained that function