Package org.jdbi.v3.core.mapper
package org.jdbi.v3.core.mapper
mapper
s 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.
-
ClassDescriptionStrategies for comparing case sensitive strings.ColumnMapper<T>Maps result set columns to objects.Factory interface used to produce column mappers.Configuration registry for
ColumnMapperFactory
instances.EnumMapper<E extends Enum<E>>Column mapper for Javaenum
types.Factory for a RowMapper that can map resultset rows to column name/generic valueMap
s.Factory that usesResultSet.getObject(int, Class)
to fetch values.Holder for a single joined row.ARowMapper
implementation to easily compose existing RowMappers.MapEntryConfig<This>MapEntryMapper<K,V> Maps rows toMap.Entry<K, V>
, provided there are mappers registered for types K and V.Configuration class for MapEntryMapper.Yo dawg, I heard you like maps, so I made you a mapper that maps rows intoMap<String,Object>
.Configuration class for obtaining row or column mappers.Thrown when a mapper fails to map the row to a result type.Signals that the annotated element is a nested mapped type.Thrown when you attempt to map a type thatJdbi
doesn't have a registered mapper factory for.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.Factory interface used to produce column mappers.RowMapper<T>Maps result set rows to objects.Factory interface used to produce row mappers.Configuration registry forRowMapperFactory
instances.Adapts aColumnMapper
into aRowMapper
by mapping a single column.