类 SQLFunctionRegistry
- java.lang.Object
-
- org.hibernate.dialect.function.SQLFunctionRegistry
-
public class SQLFunctionRegistry extends Object
Defines a registry for SQLFunction instances- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 SQLFunctionRegistry(Dialect dialect, Map<String,SQLFunction> userFunctionMap)Constructs a SQLFunctionRegistry
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 SQLFunctionfindSQLFunction(String functionName)Find a SQLFunction by namebooleanhasFunction(String functionName)Does this registry contain the named function
-
-
-
构造器详细资料
-
SQLFunctionRegistry
public SQLFunctionRegistry(Dialect dialect, Map<String,SQLFunction> userFunctionMap)
Constructs a SQLFunctionRegistry- 参数:
dialect- The dialectuserFunctionMap- 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- 返回:
trueif the registry contained that function
-
-