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.mappers 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.Internal classes for the Guice integration, do not use directly outside Jdbi.
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.
The
sqlite plugin provides improved support for
java.net.URL.vavr is a functional programming library for the JVM.-
Uses of ColumnMapper in org.jdbi.v3.core.array
Classes in org.jdbi.v3.core.array that implement ColumnMapperModifier and TypeClassDescription(package private) class(package private) classCollectorColumnMapper<T,A, R> Fields in org.jdbi.v3.core.array declared as ColumnMapperModifier and TypeFieldDescriptionprivate final ColumnMapper<?>ArrayColumnMapper.elementMapperprivate final ColumnMapper<T>CollectorColumnMapper.elementMapperMethods in org.jdbi.v3.core.array that return types with arguments of type ColumnMapperModifier and TypeMethodDescriptionOptional<ColumnMapper<?>>SqlArrayMapperFactory.build(Type type, ConfigRegistry config) private Optional<ColumnMapper<?>>SqlArrayMapperFactory.elementTypeMapper(Type elementType, ConfigRegistry config) Constructors in org.jdbi.v3.core.array with parameters of type ColumnMapperModifierConstructorDescription(package private)ArrayColumnMapper(ColumnMapper<?> elementMapper, Class<?> componentType) (package private)CollectorColumnMapper(ColumnMapper<T> elementMapper, Collector<T, A, R> collector) -
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 aColumnMapperthat creates an attribute value from a database column.default ColumnMapper<T>Codec.getColumnMapper(ConfigRegistry configRegistry) Returns aColumnMapperthat 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 ThisConfigurable.registerColumnMapper(Type type, ColumnMapper<?> mapper) Convenience method forgetConfig(ColumnMappers.class).register(type, mapper)default <T> ThisConfigurable.registerColumnMapper(GenericType<T> type, ColumnMapper<T> mapper) Convenience method forgetConfig(ColumnMappers.class).register(type, mapper)default ThisConfigurable.registerColumnMapper(ColumnMapper<?> mapper) Convenience method forgetConfig(ColumnMappers.class).register(mapper)default <T> ThisConfigurable.registerColumnMapper(QualifiedType<T> type, ColumnMapper<T> mapper) Convenience method forgetConfig(ColumnMappers.class).register(type, mapper) -
Uses of ColumnMapper in org.jdbi.v3.core.enums.internal
Methods in org.jdbi.v3.core.enums.internal that return ColumnMapperModifier and TypeMethodDescriptionprivate static <E extends Enum<E>>
ColumnMapper<?>EnumMapperFactory.makeEnumArgument(QualifiedType<E> givenType, Class<E> enumClass, ConfigRegistry config) Methods in org.jdbi.v3.core.enums.internal that return types with arguments of type ColumnMapperModifier and TypeMethodDescriptionOptional<ColumnMapper<?>>EnumMapperFactory.build(QualifiedType<?> givenType, ConfigRegistry config) -
Uses of ColumnMapper in org.jdbi.v3.core.mapper
Classes in org.jdbi.v3.core.mapper that implement ColumnMapperModifier and TypeClassDescriptionclassEnumMapper<E extends Enum<E>>Column mapper for Javaenumtypes.(package private) static classEnumMapper.EnumByNameColumnMapper<E extends Enum<E>>(package private) static classEnumMapper.EnumByOrdinalColumnMapper<E extends Enum<E>>private static class(package private) classGetterMapper<T>(package private) classColumn mapper for Java@NVarchar Stringqualified type.Fields in org.jdbi.v3.core.mapper declared as ColumnMapperModifier and TypeFieldDescriptionprivate final ColumnMapper<T>GenericMapMapperFactory.GenericMapMapper.mapperprivate final ColumnMapper<?>InferredColumnMapperFactory.mapperFields in org.jdbi.v3.core.mapper with type parameters of type ColumnMapperModifier and TypeFieldDescriptionprivate final Map<QualifiedType<?>,Optional<? extends ColumnMapper<?>>> ColumnMappers.cacheprivate final JdbiInterceptionChainHolder<ColumnMapper<?>,QualifiedColumnMapperFactory> ColumnMappers.inferenceInterceptorsprivate final IdentityHashMap<Class<?>,ColumnMapper<?>> BoxedMapperFactory.mappersprivate final IdentityHashMap<Class<?>,ColumnMapper<?>> EssentialsMapperFactory.mappersprivate final IdentityHashMap<Class<?>,ColumnMapper<?>> InternetMapperFactory.mappersprivate final IdentityHashMap<Class<?>,ColumnMapper<?>> JavaTimeMapperFactory.mappersprivate final IdentityHashMap<Class<?>,ColumnMapper<?>> PrimitiveMapperFactory.mappersprivate final IdentityHashMap<Class<?>,ColumnMapper<?>> SqlTimeMapperFactory.mappersprivate static final Map<Class<?>,BiFunction<Type, ConfigRegistry, ColumnMapper<?>>> OptionalMapperFactory.STRATEGIESMethods 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.private static ColumnMapper<?>OptionalMapperFactory.create(Type type, ConfigRegistry config) (package private) static <Opt,Box> ColumnMapper<?> OptionalMapperFactory.create(ColumnGetter<Box> columnGetter, Supplier<Opt> empty, Function<Box, Opt> present) static <U> ColumnMapper<U>ColumnMapper.getDefaultColumnMapper()private static <T> ColumnMapper<T>PrimitiveMapperFactory.primitiveMapper(ColumnGetter<T> getter) Methods in org.jdbi.v3.core.mapper that return types with arguments of type ColumnMapperModifier and TypeMethodDescriptionOptional<ColumnMapper<?>>BoxedMapperFactory.build(Type type, ConfigRegistry config) Optional<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<?>>EssentialsMapperFactory.build(Type type, ConfigRegistry config) Optional<ColumnMapper<?>>GetObjectColumnMapperFactory.build(Type type, ConfigRegistry config) Optional<ColumnMapper<?>>InferredColumnMapperFactory.build(QualifiedType<?> type, ConfigRegistry config) Optional<ColumnMapper<?>>InternetMapperFactory.build(Type type, ConfigRegistry config) Optional<ColumnMapper<?>>JavaTimeMapperFactory.build(Type type, ConfigRegistry config) Optional<ColumnMapper<?>>OptionalMapperFactory.build(Type type, ConfigRegistry config) Optional<ColumnMapper<?>>PrimitiveMapperFactory.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.Optional<ColumnMapper<?>>SqlTimeMapperFactory.build(Type type, ConfigRegistry config) <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 theJdbiInterceptionChainHolderfor the ColumnMapper inference.(package private) static BiFunction<Type,ConfigRegistry, ColumnMapper<?>> OptionalMapperFactory.singleton(ColumnMapper<?> instance) Methods in org.jdbi.v3.core.mapper with parameters of type ColumnMapperModifier and TypeMethodDescriptionstatic ColumnMapperFactoryColumnMapperFactory.of(Type type, ColumnMapper<?> mapper) Create a ColumnMapperFactory from a givenColumnMapperthat matches a single Type exactly.static <T> QualifiedColumnMapperFactoryQualifiedColumnMapperFactory.of(QualifiedType<T> type, ColumnMapper<T> mapper) Create a QualifiedColumnMapperFactory from a givenColumnMapperthat matches a singleQualifiedTypeexactly.ColumnMappers.register(Type type, ColumnMapper<?> mapper) <T> ColumnMappersColumnMappers.register(GenericType<T> type, ColumnMapper<T> mapper) Register a column mapper for a given explicitGenericTypeColumn mappers may be reused byRowMapperto 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> ColumnMappersColumnMappers.register(QualifiedType<T> type, ColumnMapper<T> mapper) Register a column mapper for a givenQualifiedTypeColumn mappers may be reused byRowMapperto map individual columns.(package private) static BiFunction<Type,ConfigRegistry, ColumnMapper<?>> OptionalMapperFactory.singleton(ColumnMapper<?> instance) Constructors in org.jdbi.v3.core.mapper with parameters of type ColumnMapperModifierConstructorDescriptionprivateGenericMapMapper(ColumnMapper<T> mapper) (package private)InferredColumnMapperFactory(ColumnMapper<?> mapper) SingleColumnMapper(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.result.internal
Fields in org.jdbi.v3.core.result.internal with type parameters of type ColumnMapperModifier and TypeFieldDescriptionprivate final Map<QualifiedType<?>,ColumnMapper<?>> RowViewImpl.columnMappersMethods in org.jdbi.v3.core.result.internal that return ColumnMapperModifier and TypeMethodDescriptionprivate ColumnMapper<?>RowViewImpl.columnMapperFor(QualifiedType<?> type) -
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 com.google.inject.binder.LinkedBindingBuilder<ColumnMapper<?>>JdbiBinder.bindColumnMapper()Creates a new binding for aColumnMapper.default com.google.inject.binder.LinkedBindingBuilder<ColumnMapper<?>>JdbiBinder.bindColumnMapper(Type type) Creates a new binding for aColumnMapperusing aType.default com.google.inject.binder.LinkedBindingBuilder<ColumnMapper<?>>JdbiBinder.bindColumnMapper(GenericType<?> genericType) Creates a new binding for aColumnMapperusing aGenericType.default com.google.inject.binder.LinkedBindingBuilder<ColumnMapper<?>>JdbiBinder.bindColumnMapper(QualifiedType<?> qualifiedType) Creates a new binding for aColumnMapperusing aQualifiedType. -
Uses of ColumnMapper in org.jdbi.v3.guice.internal
Fields in org.jdbi.v3.guice.internal with type parameters of type ColumnMapperModifier and TypeFieldDescriptionprivate static final com.google.inject.TypeLiteral<Set<ColumnMapper<?>>>InternalGlobalJdbiModule.COLUMN_MAPPER_TYPE_LITERALprivate final com.google.inject.multibindings.Multibinder<ColumnMapper<?>>InternalJdbiBinder.columnMapperBinderprivate final Set<ColumnMapper<?>>InternalGuiceJdbiCustomizer.columnMappersprivate static final com.google.inject.TypeLiteral<Map<QualifiedType<?>,ColumnMapper<?>>> InternalGlobalJdbiModule.QUALIFIED_COLUMN_MAPPER_TYPE_LITERALprivate final com.google.inject.multibindings.MapBinder<QualifiedType<?>,ColumnMapper<?>> InternalJdbiBinder.qualifiedColumnMapperBinderprivate final Map<QualifiedType<?>,ColumnMapper<?>> InternalGuiceJdbiCustomizer.qualifiedColumnMappersMethods in org.jdbi.v3.guice.internal that return types with arguments of type ColumnMapperModifier and TypeMethodDescriptioncom.google.inject.binder.LinkedBindingBuilder<ColumnMapper<?>>InternalJdbiBinder.bindColumnMapper()com.google.inject.binder.LinkedBindingBuilder<ColumnMapper<?>>InternalJdbiBinder.bindColumnMapper(Type type) com.google.inject.binder.LinkedBindingBuilder<ColumnMapper<?>>InternalJdbiBinder.bindColumnMapper(GenericType<?> genericType) com.google.inject.binder.LinkedBindingBuilder<ColumnMapper<?>>InternalJdbiBinder.bindColumnMapper(QualifiedType<?> qualifiedType) -
Uses of ColumnMapper in org.jdbi.v3.jodatime2
Classes in org.jdbi.v3.jodatime2 that implement ColumnMapper -
Uses of ColumnMapper in org.jdbi.v3.json.internal
Methods in org.jdbi.v3.json.internal that return types with arguments of type ColumnMapperModifier and TypeMethodDescriptionOptional<ColumnMapper<?>>JsonColumnMapperFactory.build(Type type, ConfigRegistry config) -
Uses of ColumnMapper in org.jdbi.v3.postgis
Methods in org.jdbi.v3.postgis that return ColumnMapperModifier and TypeMethodDescriptionColumnMapper<org.locationtech.jts.geom.Geometry>PostgisCodec.getColumnMapper() -
Uses of ColumnMapper in org.jdbi.v3.postgres
Classes in org.jdbi.v3.postgres that implement ColumnMapperModifier and TypeClassDescription(package private) static classclassA column mapper which maps Postgres' hstore type to Java'sMap.(package private) classPostgres column mapper for@MacAddr String.Methods in org.jdbi.v3.postgres that return types with arguments of type ColumnMapperModifier and TypeMethodDescriptionOptional<ColumnMapper<?>>BlobInputStreamColumnMapperFactory.build(Type type, ConfigRegistry config) Optional<ColumnMapper<?>>ClobReaderColumnMapperFactory.build(Type type, ConfigRegistry config) Optional<ColumnMapper<?>>DurationColumnMapperFactory.build(Type type, ConfigRegistry config) Optional<ColumnMapper<?>>PeriodColumnMapperFactory.build(Type type, ConfigRegistry config) Optional<ColumnMapper<?>>PGobjectColumnMapperFactory.build(Type type, ConfigRegistry config) -
Uses of ColumnMapper in org.jdbi.v3.postgres.internal
Classes in org.jdbi.v3.postgres.internal that implement ColumnMapperMethods in org.jdbi.v3.postgres.internal that return types with arguments of type ColumnMapperModifier and TypeMethodDescriptionOptional<ColumnMapper<?>>BitStringEnumSetMapperFactory.build(Type type, ConfigRegistry config) -
Uses of ColumnMapper in org.jdbi.v3.sqlite3
Classes in org.jdbi.v3.sqlite3 that implement ColumnMapper -
Uses of ColumnMapper in org.jdbi.v3.vavr
Classes in org.jdbi.v3.vavr that implement ColumnMapper