Package lu.kbra.pclib.db.impl
Interface SQLQuery.TransformingQuery<T extends DatabaseEntry,B>
- All Superinterfaces:
SQLQuery<T,B>
- All Known Subinterfaces:
SQLQuery.SinglePreparedQuery<T>
- Enclosing interface:
- SQLQuery<T extends DatabaseEntry,
B>
-
Nested Class Summary
Nested classes/interfaces inherited from interface lu.kbra.pclib.db.impl.SQLQuery
SQLQuery.PreparedQuery<T extends DatabaseEntry>, SQLQuery.RawTransformingQuery<T extends DatabaseEntry,B>, SQLQuery.SinglePreparedQuery<T extends DatabaseEntry>, SQLQuery.TransformingQuery<T extends DatabaseEntry, B> -
Method Summary
Modifier and TypeMethodDescriptionstatic <T,B> B transform(List<T> data, Query.Type type) transform(SQLQueryable<T> table, List<T> data) static <T> voidtransformRow(List<T> data, Query.Type type, ThrowingSupplier<T, SQLException> function) Methods inherited from interface lu.kbra.pclib.db.impl.SQLQuery
closeResultSet, getPreparedQuerySQL, updateQuerySQL
-
Method Details
-
transform
- Throws:
SQLException
-
transform
- Throws:
DBException
-
transformRow
static <T> void transformRow(List<T> data, Query.Type type, ThrowingSupplier<T, SQLException> function) throws SQLException- Throws:
SQLException
-