|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SQLFunctionProvider
Implementations map Function
s to SQL functions.
Method Summary | |
---|---|
void |
destroy()
Called by SQLFunctionManager once when this SQLFunctionProvider is being taken out of service. |
Set<ConnectionManager.Type> |
getDialects()
Returns the supported SQL dialects. |
String |
getName()
Returns the name of the provided function. |
void |
init(DeegreeWorkspace ws)
Called by SQLFunctionManager once when this SQLFunctionProvider is being taken into service. |
SQLExpression |
toProtoSQL(List<SQLExpression> args,
SQLDialect dialect)
Translates the given arguments into an an SQL function call. |
Method Detail |
---|
void init(DeegreeWorkspace ws) throws ResourceInitException
SQLFunctionManager
once when this SQLFunctionProvider
is being taken into service.
ws
- workspace context, never null
ResourceInitException
- if the initialization failsvoid destroy()
SQLFunctionManager
once when this SQLFunctionProvider
is being taken out of service.
String getName()
null
Set<ConnectionManager.Type> getDialects()
null
SQLExpression toProtoSQL(List<SQLExpression> args, SQLDialect dialect)
args
- SQL arguments, can be empty, but never null
dialect
- SQL dialect, can be null
(TODO shouldn't be)
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |