Package org.reldb.wrapd.sqldb
Interface Database.ConnectionUser<T>
- Type Parameters:
T
- Return type of go(...)
- Enclosing class:
- Database
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface Database.ConnectionUser<T>
Used to define lambda expressions that make use of a Connection and return a value of type T.
-
Method Summary
-
Method Details
-
go
Use a connection.- Parameters:
c
- Connection.- Returns:
- Specified return type.
- Throws:
java.sql.SQLException
- thrown if operation fails.
-