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