| Package | Description |
|---|---|
| org.jdbi.v3.core.mapper |
mappers take the JDBC ResultSet and produce Java results. |
| org.jdbi.v3.core.result |
result provides the streaming interface that reads rows from JDBC
and drives the mapper and collector processes to
produce results. |
| org.jdbi.v3.core.statement |
The
statement package provides most of the Fluent API
to drive statement execution. |
| Modifier and Type | Method and Description |
|---|---|
<T> Optional<ColumnMapper<T>> |
ColumnMappers.findFor(GenericType<T> type)
Obtain a column mapper for the given type.
|
<T> Optional<RowMapper<T>> |
RowMappers.findFor(GenericType<T> type)
Obtain a row mapper for the given type in the given context.
|
| Modifier and Type | Method and Description |
|---|---|
default <R> R |
ResultBearing.collectInto(GenericType<R> containerType)
Collect the results into a container of the given generic type.
|
<T> T |
RowView.getColumn(int column,
GenericType<T> type)
Use a column mapper to extract a type from the current ResultSet row.
|
<T> T |
RowView.getColumn(String column,
GenericType<T> type)
Use a column mapper to extract a type from the current ResultSet row.
|
<T> T |
RowView.getRow(GenericType<T> rowType)
Use a row mapper to extract a type from the current ResultSet row.
|
default <T> ResultIterable<T> |
ResultBearing.mapTo(GenericType<T> type)
Maps this result set to a
ResultIterable of the given element type. |
| Modifier and Type | Method and Description |
|---|---|
This |
SqlStatement.bindByType(int position,
Object value,
GenericType<?> argumentType)
Bind an argument dynamically by the generic type passed in.
|
This |
SqlStatement.bindByType(String name,
Object value,
GenericType<?> argumentType)
Bind an argument dynamically by the generic type passed in.
|
<T> Optional<ColumnMapper<T>> |
StatementContext.findColumnMapperFor(GenericType<T> type)
Obtain a column mapper for the given type in this context.
|
<T> Optional<RowMapper<T>> |
StatementContext.findRowMapperFor(GenericType<T> type)
Obtain a row mapper for the given type in this context.
|
Copyright © 2017. All rights reserved.