public class SQLFunctionRegistry extends Object
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)
dialect
- The dialectuserFunctionMap
- Any application-supplied function definitionspublic SQLFunction findSQLFunction(String functionName)
functionName
- The name of the function to locatenull
public boolean hasFunction(String functionName)
functionName
- The name of the function to attempt to locatetrue
if the registry contained that functionCopyright © 2016 JBoss by Red Hat. All rights reserved.