public class SQLFunctionRegistry extends Object
Defines a registry for SQLFunction instances
| Constructor and Description |
|---|
SQLFunctionRegistry(Dialect dialect,
Map<String,SQLFunction> userFunctionMap)
Constructs a SQLFunctionRegistry
|
| Modifier and Type | Method and Description |
|---|---|
SQLFunction |
findSQLFunction(String functionName)
Find a SQLFunction by name
|
boolean |
hasFunction(String functionName)
Does this registry contain the named function
|
public SQLFunctionRegistry(Dialect dialect, Map<String,SQLFunction> userFunctionMap)
Constructs a SQLFunctionRegistry
dialect - The dialectuserFunctionMap - Any application-supplied function definitionspublic SQLFunction findSQLFunction(String functionName)
Find a SQLFunction by name
functionName - The name of the function to locatenullpublic boolean hasFunction(String functionName)
Does this registry contain the named function
functionName - The name of the function to attempt to locatetrue if the registry contained that functionCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.