- Type Parameters:
C- the connection type required by this functionT- the argument typeR- the return type
public interface DatabaseFunction<C,T,R>
A database function
-
Method Summary
-
Method Details
-
execute
Executes this function using the given connection- Parameters:
connection- the connection to useargument- the function argument, if any- Returns:
- the function return argument
- Throws:
DatabaseException- in case of an exception during the execution
-