Uses of Interface
org.jdbi.v3.core.mapper.ColumnMapper
Packages that use ColumnMapper
Package
Description
The
array
package binds Java arrays and collections to SQL arrays, and
handles mapping array result types back to Java arrays and collections.
The
config
classes define a configuration registry starting from
each Jdbi
instance.mapper
s take the JDBC ResultSet and produce Java results.result
provides the streaming interface that reads rows from JDBC
and drives the mapper
and collector
processes to
produce results.
The
statement
package provides most of the Fluent API
to drive statement execution.Google Guice
integration.joda-time
provides improved date and time types to pre-Java 8 applications.
The
postgres
plugin provides improved support for
java.time
, hstore
, uuid
, and enum
types when configured with a recent Postgres database server.-
Uses of ColumnMapper in org.jdbi.v3.core.array
Methods in org.jdbi.v3.core.array that return types with arguments of type ColumnMapperModifier and TypeMethodDescriptionOptional
<ColumnMapper<?>> SqlArrayMapperFactory.build
(Type type, ConfigRegistry config) -
Uses of ColumnMapper in org.jdbi.v3.core.codec
Methods in org.jdbi.v3.core.codec that return ColumnMapperModifier and TypeMethodDescriptiondefault ColumnMapper
<T> Codec.getColumnMapper()
Returns aColumnMapper
that creates an attribute value from a database column.default ColumnMapper
<T> Codec.getColumnMapper
(ConfigRegistry configRegistry) Returns aColumnMapper
that creates an attribute value from a database column.Methods in org.jdbi.v3.core.codec that return types with arguments of type ColumnMapperModifier and TypeMethodDescriptionfinal Optional
<ColumnMapper<?>> CodecFactory.build
(QualifiedType<?> type, ConfigRegistry config) -
Uses of ColumnMapper in org.jdbi.v3.core.config
Methods in org.jdbi.v3.core.config with parameters of type ColumnMapperModifier and TypeMethodDescriptiondefault This
Configurable.registerColumnMapper
(Type type, ColumnMapper<?> mapper) Convenience method forgetConfig(ColumnMappers.class).register(type, mapper)
default <T> This
Configurable.registerColumnMapper
(GenericType<T> type, ColumnMapper<T> mapper) Convenience method forgetConfig(ColumnMappers.class).register(type, mapper)
default This
Configurable.registerColumnMapper
(ColumnMapper<?> mapper) Convenience method forgetConfig(ColumnMappers.class).register(mapper)
default <T> This
Configurable.registerColumnMapper
(QualifiedType<T> type, ColumnMapper<T> mapper) Convenience method forgetConfig(ColumnMappers.class).register(type, mapper)
-
Uses of ColumnMapper in org.jdbi.v3.core.mapper
Classes in org.jdbi.v3.core.mapper that implement ColumnMapperModifier and TypeClassDescriptionclass
EnumMapper<E extends Enum<E>>
Column mapper for Javaenum
types.Methods in org.jdbi.v3.core.mapper that return ColumnMapperModifier and TypeMethodDescriptionstatic <E extends Enum<E>>
ColumnMapper<E> Map database string values to enum names.static <E extends Enum<E>>
ColumnMapper<E> Map database integer values to enum ordinal values.static <U> ColumnMapper
<U> ColumnMapper.getDefaultColumnMapper()
Methods in org.jdbi.v3.core.mapper that return types with arguments of type ColumnMapperModifier and TypeMethodDescriptionOptional
<ColumnMapper<?>> BuiltInMapperFactory.build
(Type type, ConfigRegistry config) Deprecated.Optional
<ColumnMapper<?>> ColumnMapperFactory.build
(Type type, ConfigRegistry config) Supplies a column mapper which will map columns to type if the factory supports it; empty otherwise.Optional
<ColumnMapper<?>> EnumByNameMapperFactory.build
(Type type, ConfigRegistry config) Deprecated.Optional
<ColumnMapper<?>> EnumByOrdinalMapperFactory.build
(Type type, ConfigRegistry config) Deprecated.Optional
<ColumnMapper<?>> GetObjectColumnMapperFactory.build
(Type type, ConfigRegistry config) Optional
<ColumnMapper<?>> QualifiedColumnMapperFactory.build
(QualifiedType<?> type, ConfigRegistry config) Supplies a column mapper which will map columns to type if the factory supports it; empty otherwise.<T> Optional
<ColumnMapper<T>> Obtain a column mapper for the given type.Optional
<ColumnMapper<?>> Obtain a column mapper for the given type.<T> Optional
<ColumnMapper<T>> ColumnMappers.findFor
(GenericType<T> type) Obtain a column mapper for the given type.<T> Optional
<ColumnMapper<T>> ColumnMappers.findFor
(QualifiedType<T> type) Obtain a column mapper for the given qualified type.ColumnMappers.getInferenceInterceptors()
Returns theJdbiInterceptionChainHolder
for the ColumnMapper inference.Methods in org.jdbi.v3.core.mapper with parameters of type ColumnMapperModifier and TypeMethodDescriptionstatic ColumnMapperFactory
ColumnMapperFactory.of
(Type type, ColumnMapper<?> mapper) Create a ColumnMapperFactory from a givenColumnMapper
that matches a single Type exactly.static <T> QualifiedColumnMapperFactory
QualifiedColumnMapperFactory.of
(QualifiedType<T> type, ColumnMapper<T> mapper) Create a QualifiedColumnMapperFactory from a givenColumnMapper
that matches a singleQualifiedType
exactly.ColumnMappers.register
(Type type, ColumnMapper<?> mapper) <T> ColumnMappers
ColumnMappers.register
(GenericType<T> type, ColumnMapper<T> mapper) Register a column mapper for a given explicitGenericType
Column mappers may be reused byRowMapper
to map individual columns.ColumnMappers.register
(ColumnMapper<?> mapper) Register a column mapper which will have its parameterized type inspected to determine what it maps to.<T> ColumnMappers
ColumnMappers.register
(QualifiedType<T> type, ColumnMapper<T> mapper) Register a column mapper for a givenQualifiedType
Column mappers may be reused byRowMapper
to map individual columns.Constructors in org.jdbi.v3.core.mapper with parameters of type ColumnMapperModifierConstructorDescriptionSingleColumnMapper
(ColumnMapper<T> mapper) Constructs a row mapper which maps the first column.SingleColumnMapper
(ColumnMapper<T> mapper, int columnNumber) Constructs a row mapper which maps the given column number.SingleColumnMapper
(ColumnMapper<T> mapper, String columnLabel) Constructs a row mapper which maps the column with the given label. -
Uses of ColumnMapper in org.jdbi.v3.core.result
Methods in org.jdbi.v3.core.result with parameters of type ColumnMapperModifier and TypeMethodDescription<T> BatchResultIterable
<T> BatchResultBearing.map
(ColumnMapper<T> mapper) default <T> ResultIterable
<T> ResultBearing.map
(ColumnMapper<T> mapper) Maps this result set to aResultIterable
, using the given column mapper. -
Uses of ColumnMapper in org.jdbi.v3.core.statement
Methods in org.jdbi.v3.core.statement that return types with arguments of type ColumnMapperModifier and TypeMethodDescription<T> Optional
<ColumnMapper<T>> StatementContext.findColumnMapperFor
(Class<T> type) Obtain a column mapper for the given type in this context.Optional
<ColumnMapper<?>> StatementContext.findColumnMapperFor
(Type type) Obtain a column mapper for the given type in this context.<T> Optional
<ColumnMapper<T>> StatementContext.findColumnMapperFor
(GenericType<T> type) Obtain a column mapper for the given type in this context.<T> Optional
<ColumnMapper<T>> StatementContext.findColumnMapperFor
(QualifiedType<T> type) Obtain a column mapper for the given qualified type in this context. -
Uses of ColumnMapper in org.jdbi.v3.guice
Methods in org.jdbi.v3.guice that return types with arguments of type ColumnMapperModifier and TypeMethodDescriptiondefault LinkedBindingBuilder
<ColumnMapper<?>> JdbiBinder.bindColumnMapper()
Creates a new binding for aColumnMapper
.default LinkedBindingBuilder
<ColumnMapper<?>> JdbiBinder.bindColumnMapper
(Type type) Creates a new binding for aColumnMapper
using aType
.default LinkedBindingBuilder
<ColumnMapper<?>> JdbiBinder.bindColumnMapper
(GenericType<?> genericType) Creates a new binding for aColumnMapper
using aGenericType
.default LinkedBindingBuilder
<ColumnMapper<?>> JdbiBinder.bindColumnMapper
(QualifiedType<?> qualifiedType) Creates a new binding for aColumnMapper
using aQualifiedType
. -
Uses of ColumnMapper in org.jdbi.v3.jodatime2
Classes in org.jdbi.v3.jodatime2 that implement ColumnMapper -
Uses of ColumnMapper in org.jdbi.v3.postgres
Classes in org.jdbi.v3.postgres that implement ColumnMapperModifier and TypeClassDescriptionclass
A column mapper which maps Postgres' hstore type to Java'sMap
.Methods in org.jdbi.v3.postgres that return types with arguments of type ColumnMapperModifier and TypeMethodDescriptionOptional
<ColumnMapper<?>> DurationColumnMapperFactory.build
(Type type, ConfigRegistry config) Optional
<ColumnMapper<?>> PeriodColumnMapperFactory.build
(Type type, ConfigRegistry config)