mappers take the JDBC ResultSet and produce Java results.See: Description
| Interface | Description |
|---|---|
| ColumnMapper<T> |
Maps result set columns to objects.
|
| ColumnMapperFactory |
Factory interface used to produce column mappers.
|
| MapEntryConfig<This> | |
| QualifiedColumnMapperFactory |
Factory interface used to produce column mappers.
|
| RowMapper<T> |
Maps result set rows to objects.
|
| RowMapperFactory |
Factory interface used to produce row mappers.
|
| RowViewMapper<T> |
| Class | Description |
|---|---|
| ColumnMappers |
Configuration registry for
ColumnMapperFactory instances. |
| EnumMapper<E extends Enum<E>> |
Column mapper for Java
enum types. |
| GenericMapMapperFactory |
Factory for a RowMapper that can map resultset rows to column name/generic value
Maps. |
| GetObjectColumnMapperFactory |
Factory that uses
ResultSet.getObject(int, Class) to fetch values. |
| JoinRow |
Holder for a single joined row.
|
| JoinRowMapper |
A
RowMapper implementation to easily compose existing
RowMappers. |
| MapEntryMapper<K,V> |
Maps rows to
Map.Entry<K, V>, provided there are mappers registered for types K and V. |
| MapEntryMappers |
Configuration class for MapEntryMapper.
|
| MapMapper |
Yo dawg, I heard you like maps, so I made you a mapper that maps rows into
Map<String,Object>. |
| MapMappers | |
| Mappers |
Configuration class for obtaining row or column mappers.
|
| RowMappers |
Configuration registry for
RowMapperFactory instances. |
| SingleColumnMapper<T> |
Adapts a
ColumnMapper into a RowMapper by mapping a single column. |
| Enum | Description |
|---|---|
| CaseStrategy |
Strategies for comparing case sensitive strings.
|
| Exception | Description |
|---|---|
| MappingException |
Thrown when a mapper fails to map the row to a result type.
|
| NoSuchMapperException |
Thrown when you attempt to map a type that
Jdbi doesn't have a
registered mapper factory for. |
| Annotation Type | Description |
|---|---|
| Nested |
Signals that the annotated element is a nested mapped type.
|
| PropagateNull |
Signals that the annotated property signals the presence of the mapped type:
reflective mappers should map a null bean if this property is null, rather than a
present bean with a null property value.
|
mappers take the JDBC ResultSet and produce Java results.
ColumnMappers inspect a single result column, and RowMappers inspect the
entire result row to build a compound type. Mappers are composeable and
often will feed results into the collector package to produce
the end result.
Copyright © 2019. All rights reserved.