| Package | Description |
|---|---|
| be.bendem.sqlstreams |
This package contains the public API for the
sql-streams package. |
| be.bendem.sqlstreams.impl |
| Modifier and Type | Method and Description |
|---|---|
default <R> Optional<R> |
Query.first(SqlFunction<ResultSet,R> mapping)
Returns the first row of the current query using the provided mapping function.
|
default <R> Optional<R> |
SqlStream.first(String sql,
SqlFunction<ResultSet,R> mapping,
Object... parameters)
Shortcut for
query(sql).with(parameters).first(mapping). |
<R> Stream<R> |
Query.map(SqlFunction<ResultSet,R> mapping)
Maps each row returned by this query using the provided mapping function.
|
Query |
SqlStream.query(SqlFunction<Connection,PreparedStatement> preparer)
Manually prepares a query from a
Connection. |
Update |
SqlStream.update(SqlFunction<Connection,PreparedStatement> preparer)
Manually prepares a DML query from a
Connection. |
| Modifier and Type | Method and Description |
|---|---|
Query |
SqlImpl.query(SqlFunction<Connection,PreparedStatement> preparer) |
Update |
SqlImpl.update(SqlFunction<Connection,PreparedStatement> preparer) |
Copyright © 2019. All rights reserved.