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>
SQLException
public <C extends org.simpleflatmapper.util.CheckedConsumer<? super T>> C read(Connection connection, P p, C consumer) throws SQLException
read
in interface SelectQuery<T,P>
SQLException
Copyright © 2017. All rights reserved.