public class FunctionContextDefinition extends Object implements FunctionContext
| Constructor and Description |
|---|
FunctionContextDefinition(DatabaseBridge databaseBridge) |
| Modifier and Type | Method and Description |
|---|---|
Connection |
acquireConnection() |
void |
close() |
DatabaseInterface |
databaseInterface() |
Map<String,Object> |
get(String name) |
String |
getMethod() |
void |
handleEmpty() |
void |
handleNotFound() |
void |
handleOk(Object object) |
void |
rollback() |
public FunctionContextDefinition(DatabaseBridge databaseBridge)
public DatabaseInterface databaseInterface()
databaseInterface in interface FunctionContextpublic String getMethod()
getMethod in interface FunctionContextpublic Connection acquireConnection() throws SQLException
acquireConnection in interface FunctionContextSQLExceptionpublic void rollback()
rollback in interface FunctionContextpublic void close()
close in interface Closeableclose in interface AutoCloseablepublic void handleNotFound()
handleNotFound in interface FunctionContextpublic void handleEmpty()
handleEmpty in interface FunctionContextpublic void handleOk(Object object)
handleOk in interface FunctionContextCopyright © 2022 Cesar Martinez. All rights reserved.