public class SQLFunctionRegistry extends Object
Constructor and Description |
---|
SQLFunctionRegistry(Dialect dialect,
Map<String,SQLFunction> userFunctions)
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> userFunctions)
dialect
- The dialectuserFunctions
- 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 © 2001-2015 Red Hat, Inc. All Rights Reserved.