public class SelectQueryImpl<T,P> extends Object implements SelectQuery<T,P>
| Constructor and Description |
|---|
SelectQueryImpl(QueryPreparer<P> queryPreparer,
JdbcMapper<T> mapper) |
| Modifier and Type | Method and Description |
|---|---|
<C extends org.simpleflatmapper.util.CheckedConsumer<? super T>> |
read(Connection connection,
P p,
C consumer) |
T |
readFirst(Connection connection,
P p) |
public SelectQueryImpl(QueryPreparer<P> queryPreparer, JdbcMapper<T> mapper)
public T readFirst(Connection connection, P p) throws SQLException
readFirst in interface SelectQuery<T,P>SQLExceptionpublic <C extends org.simpleflatmapper.util.CheckedConsumer<? super T>> C read(Connection connection, P p, C consumer) throws SQLException
read in interface SelectQuery<T,P>SQLExceptionCopyright © 2020. All rights reserved.