Uses of Interface
org.jdbi.v3.core.mapper.ColumnMapper
-
Packages that use ColumnMapper Package Description org.jdbi.v3.core.array Thearraypackage binds Java arrays and collections to SQL arrays, and handles mapping array result types back to Java arrays and collections.org.jdbi.v3.core.codec org.jdbi.v3.core.config Theconfigclasses define a configuration registry starting from eachJdbiinstance.org.jdbi.v3.core.enums.internal org.jdbi.v3.core.mapper mappers take the JDBC ResultSet and produce Java results.org.jdbi.v3.core.result resultprovides the streaming interface that reads rows from JDBC and drives themapperandcollectorprocesses to produce results.org.jdbi.v3.core.result.internal org.jdbi.v3.core.statement Thestatementpackage provides most of the Fluent API to drive statement execution.org.jdbi.v3.guice Google Guiceintegration.org.jdbi.v3.guice.internal Internal classes for the Guice integration, do not use directly outside Jdbi.org.jdbi.v3.jodatime2 joda-timeprovides improved date and time types to pre-Java 8 applications.org.jdbi.v3.json.internal org.jdbi.v3.postgis org.jdbi.v3.postgres Thepostgresplugin provides improved support forjava.time,hstore,uuid, andenumtypes when configured with a recent Postgres database server.org.jdbi.v3.postgres.internal org.jdbi.v3.sqlite3 Thesqliteplugin provides improved support forjava.net.URL.org.jdbi.v3.sqlobject.config Thesqlobject.configpackage defines configuration annotations that modify theJdbiconfiguration used as the context for executing SqlObject methods, such as registering handled types.org.jdbi.v3.vavr vavris 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 ColumnMapper Modifier and Type Class Description (package private) classArrayColumnMapper(package private) classCollectorColumnMapper<T,A,R>Fields in org.jdbi.v3.core.array declared as ColumnMapper Modifier and Type Field Description private ColumnMapper<?>ArrayColumnMapper. elementMapperprivate ColumnMapper<T>CollectorColumnMapper. elementMapperMethods in org.jdbi.v3.core.array that return types with arguments of type ColumnMapper Modifier and Type Method Description java.util.Optional<ColumnMapper<?>>SqlArrayMapperFactory. build(java.lang.reflect.Type type, ConfigRegistry config)private java.util.Optional<ColumnMapper<?>>SqlArrayMapperFactory. elementTypeMapper(java.lang.reflect.Type elementType, ConfigRegistry config)Constructors in org.jdbi.v3.core.array with parameters of type ColumnMapper Constructor Description ArrayColumnMapper(ColumnMapper<?> elementMapper, java.lang.Class<?> componentType)CollectorColumnMapper(ColumnMapper<T> elementMapper, java.util.stream.Collector<T,A,R> collector) -
Uses of ColumnMapper in org.jdbi.v3.core.codec
Methods in org.jdbi.v3.core.codec that return ColumnMapper Modifier and Type Method Description default 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 ColumnMapper Modifier and Type Method Description java.util.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 ColumnMapper Modifier and Type Method Description default ThisConfigurable. registerColumnMapper(java.lang.reflect.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 ColumnMapper Modifier and Type Method Description private static <E extends java.lang.Enum<E>>
ColumnMapper<?>EnumMapperFactory. makeEnumArgument(QualifiedType<E> givenType, java.lang.Class<E> enumClass, ConfigRegistry config)Methods in org.jdbi.v3.core.enums.internal that return types with arguments of type ColumnMapper Modifier and Type Method Description java.util.Optional<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 ColumnMapper Modifier and Type Class Description classEnumMapper<E extends java.lang.Enum<E>>Column mapper for Javaenumtypes.(package private) static classEnumMapper.EnumByNameColumnMapper<E extends java.lang.Enum<E>>(package private) static classEnumMapper.EnumByOrdinalColumnMapper<E extends java.lang.Enum<E>>private static classGetObjectColumnMapperFactory.GetObjectColumnMapper<T>(package private) classGetterMapper<T>(package private) classNVarcharMapperColumn mapper for Java@NVarchar Stringqualified type.Fields in org.jdbi.v3.core.mapper declared as ColumnMapper Modifier and Type Field Description private ColumnMapper<T>GenericMapMapperFactory.GenericMapMapper. mapperprivate ColumnMapper<?>InferredColumnMapperFactory. mapperFields in org.jdbi.v3.core.mapper with type parameters of type ColumnMapper Modifier and Type Field Description private java.util.Map<QualifiedType<?>,java.util.Optional<? extends ColumnMapper<?>>>ColumnMappers. cacheprivate JdbiInterceptionChainHolder<ColumnMapper<?>,QualifiedColumnMapperFactory>ColumnMappers. inferenceInterceptorsprivate java.util.IdentityHashMap<java.lang.Class<?>,ColumnMapper<?>>BoxedMapperFactory. mappersprivate java.util.IdentityHashMap<java.lang.Class<?>,ColumnMapper<?>>EssentialsMapperFactory. mappersprivate java.util.IdentityHashMap<java.lang.Class<?>,ColumnMapper<?>>InternetMapperFactory. mappersprivate java.util.IdentityHashMap<java.lang.Class<?>,ColumnMapper<?>>JavaTimeMapperFactory. mappersprivate java.util.IdentityHashMap<java.lang.Class<?>,ColumnMapper<?>>PrimitiveMapperFactory. mappersprivate java.util.IdentityHashMap<java.lang.Class<?>,ColumnMapper<?>>SqlTimeMapperFactory. mappersprivate static java.util.Map<java.lang.Class<?>,java.util.function.BiFunction<java.lang.reflect.Type,ConfigRegistry,ColumnMapper<?>>>OptionalMapperFactory. STRATEGIESMethods in org.jdbi.v3.core.mapper that return ColumnMapper Modifier and Type Method Description static <E extends java.lang.Enum<E>>
ColumnMapper<E>EnumMapper. byName(java.lang.Class<E> type)Map database string values to enum names.static <E extends java.lang.Enum<E>>
ColumnMapper<E>EnumMapper. byOrdinal(java.lang.Class<E> type)Map database integer values to enum ordinal values.private static ColumnMapper<?>OptionalMapperFactory. create(java.lang.reflect.Type type, ConfigRegistry config)(package private) static <Opt,Box>
ColumnMapper<?>OptionalMapperFactory. create(ColumnGetter<Box> columnGetter, java.util.function.Supplier<Opt> empty, java.util.function.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 ColumnMapper Modifier and Type Method Description java.util.Optional<ColumnMapper<?>>BoxedMapperFactory. build(java.lang.reflect.Type type, ConfigRegistry config)java.util.Optional<ColumnMapper<?>>BuiltInMapperFactory. build(java.lang.reflect.Type type, ConfigRegistry config)Deprecated.java.util.Optional<ColumnMapper<?>>ColumnMapperFactory. build(java.lang.reflect.Type type, ConfigRegistry config)Supplies a column mapper which will map columns to type if the factory supports it; empty otherwise.java.util.Optional<ColumnMapper<?>>EnumByNameMapperFactory. build(java.lang.reflect.Type type, ConfigRegistry config)Deprecated.java.util.Optional<ColumnMapper<?>>EnumByOrdinalMapperFactory. build(java.lang.reflect.Type type, ConfigRegistry config)Deprecated.java.util.Optional<ColumnMapper<?>>EssentialsMapperFactory. build(java.lang.reflect.Type type, ConfigRegistry config)java.util.Optional<ColumnMapper<?>>GetObjectColumnMapperFactory. build(java.lang.reflect.Type type, ConfigRegistry config)java.util.Optional<ColumnMapper<?>>InferredColumnMapperFactory. build(QualifiedType<?> type, ConfigRegistry config)java.util.Optional<ColumnMapper<?>>InternetMapperFactory. build(java.lang.reflect.Type type, ConfigRegistry config)java.util.Optional<ColumnMapper<?>>JavaTimeMapperFactory. build(java.lang.reflect.Type type, ConfigRegistry config)java.util.Optional<ColumnMapper<?>>OptionalMapperFactory. build(java.lang.reflect.Type type, ConfigRegistry config)java.util.Optional<ColumnMapper<?>>PrimitiveMapperFactory. build(java.lang.reflect.Type type, ConfigRegistry config)java.util.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.java.util.Optional<ColumnMapper<?>>SqlTimeMapperFactory. build(java.lang.reflect.Type type, ConfigRegistry config)<T> java.util.Optional<ColumnMapper<T>>ColumnMappers. findFor(java.lang.Class<T> type)Obtain a column mapper for the given type.java.util.Optional<ColumnMapper<?>>ColumnMappers. findFor(java.lang.reflect.Type type)Obtain a column mapper for the given type.<T> java.util.Optional<ColumnMapper<T>>ColumnMappers. findFor(GenericType<T> type)Obtain a column mapper for the given type.<T> java.util.Optional<ColumnMapper<T>>ColumnMappers. findFor(QualifiedType<T> type)Obtain a column mapper for the given qualified type.JdbiInterceptionChainHolder<ColumnMapper<?>,QualifiedColumnMapperFactory>ColumnMappers. getInferenceInterceptors()Returns theJdbiInterceptionChainHolderfor the ColumnMapper inference.(package private) static java.util.function.BiFunction<java.lang.reflect.Type,ConfigRegistry,ColumnMapper<?>>OptionalMapperFactory. singleton(ColumnMapper<?> instance)Methods in org.jdbi.v3.core.mapper with parameters of type ColumnMapper Modifier and Type Method Description static ColumnMapperFactoryColumnMapperFactory. of(java.lang.reflect.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.ColumnMappersColumnMappers. register(java.lang.reflect.Type type, ColumnMapper<?> mapper)Register a column mapper for a given explicitTypeColumn mappers may be reused byRowMapperto map individual columns.<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.ColumnMappersColumnMappers. 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 java.util.function.BiFunction<java.lang.reflect.Type,ConfigRegistry,ColumnMapper<?>>OptionalMapperFactory. singleton(ColumnMapper<?> instance)Constructors in org.jdbi.v3.core.mapper with parameters of type ColumnMapper Constructor Description GenericMapMapper(ColumnMapper<T> mapper)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, java.lang.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 ColumnMapper Modifier and Type Method Description <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 ColumnMapper Modifier and Type Field Description private java.util.Map<QualifiedType<?>,ColumnMapper<?>>RowViewImpl. columnMappersMethods in org.jdbi.v3.core.result.internal that return ColumnMapper Modifier and Type Method Description private 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 ColumnMapper Modifier and Type Method Description <T> java.util.Optional<ColumnMapper<T>>StatementContext. findColumnMapperFor(java.lang.Class<T> type)Obtain a column mapper for the given type in this context.java.util.Optional<ColumnMapper<?>>StatementContext. findColumnMapperFor(java.lang.reflect.Type type)Obtain a column mapper for the given type in this context.<T> java.util.Optional<ColumnMapper<T>>StatementContext. findColumnMapperFor(GenericType<T> type)Obtain a column mapper for the given type in this context.<T> java.util.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 ColumnMapper Modifier and Type Method Description default com.google.inject.binder.LinkedBindingBuilder<ColumnMapper<?>>JdbiBinder. bindColumnMapper()Creates a new binding for aColumnMapper.default com.google.inject.binder.LinkedBindingBuilder<ColumnMapper<?>>JdbiBinder. bindColumnMapper(java.lang.reflect.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 ColumnMapper Modifier and Type Field Description private static com.google.inject.TypeLiteral<java.util.Set<ColumnMapper<?>>>InternalGlobalJdbiModule. COLUMN_MAPPER_TYPE_LITERALprivate com.google.inject.multibindings.Multibinder<ColumnMapper<?>>InternalJdbiBinder. columnMapperBinderprivate java.util.Set<ColumnMapper<?>>InternalGuiceJdbiCustomizer. columnMappersprivate static com.google.inject.TypeLiteral<java.util.Map<QualifiedType<?>,ColumnMapper<?>>>InternalGlobalJdbiModule. QUALIFIED_COLUMN_MAPPER_TYPE_LITERALprivate com.google.inject.multibindings.MapBinder<QualifiedType<?>,ColumnMapper<?>>InternalJdbiBinder. qualifiedColumnMapperBinderprivate java.util.Map<QualifiedType<?>,ColumnMapper<?>>InternalGuiceJdbiCustomizer. qualifiedColumnMappersMethods in org.jdbi.v3.guice.internal that return types with arguments of type ColumnMapper Modifier and Type Method Description com.google.inject.binder.LinkedBindingBuilder<ColumnMapper<?>>InternalJdbiBinder. bindColumnMapper()com.google.inject.binder.LinkedBindingBuilder<ColumnMapper<?>>InternalJdbiBinder. bindColumnMapper(java.lang.reflect.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 Modifier and Type Class Description classDateTimeMapperMap aTimestampto aDateTime. -
Uses of ColumnMapper in org.jdbi.v3.json.internal
Methods in org.jdbi.v3.json.internal that return types with arguments of type ColumnMapper Modifier and Type Method Description java.util.Optional<ColumnMapper<?>>JsonColumnMapperFactory. build(java.lang.reflect.Type type, ConfigRegistry config) -
Uses of ColumnMapper in org.jdbi.v3.postgis
Methods in org.jdbi.v3.postgis that return ColumnMapper Modifier and Type Method Description ColumnMapper<org.locationtech.jts.geom.Geometry>PostgisCodec. getColumnMapper() -
Uses of ColumnMapper in org.jdbi.v3.postgres
Classes in org.jdbi.v3.postgres that implement ColumnMapper Modifier and Type Class Description (package private) static classBlobInputStreamColumnMapperFactory.LobColumnMapperclassHStoreColumnMapperA column mapper which maps Postgres' hstore type to Java'sMap.(package private) classMacAddrColumnMapperPostgres column mapper for@MacAddr String.Methods in org.jdbi.v3.postgres that return types with arguments of type ColumnMapper Modifier and Type Method Description java.util.Optional<ColumnMapper<?>>BlobInputStreamColumnMapperFactory. build(java.lang.reflect.Type type, ConfigRegistry config)java.util.Optional<ColumnMapper<?>>ClobReaderColumnMapperFactory. build(java.lang.reflect.Type type, ConfigRegistry config)java.util.Optional<ColumnMapper<?>>DurationColumnMapperFactory. build(java.lang.reflect.Type type, ConfigRegistry config)java.util.Optional<ColumnMapper<?>>PeriodColumnMapperFactory. build(java.lang.reflect.Type type, ConfigRegistry config)java.util.Optional<ColumnMapper<?>>PGobjectColumnMapperFactory. build(java.lang.reflect.Type type, ConfigRegistry config) -
Uses of ColumnMapper in org.jdbi.v3.postgres.internal
Classes in org.jdbi.v3.postgres.internal that implement ColumnMapper Modifier and Type Class Description classBitStringEnumSetColumnMapper<E extends java.lang.Enum<E>>Methods in org.jdbi.v3.postgres.internal that return types with arguments of type ColumnMapper Modifier and Type Method Description java.util.Optional<ColumnMapper<?>>BitStringEnumSetMapperFactory. build(java.lang.reflect.Type type, ConfigRegistry config) -
Uses of ColumnMapper in org.jdbi.v3.sqlite3
Classes in org.jdbi.v3.sqlite3 that implement ColumnMapper Modifier and Type Class Description (package private) classURLColumnMapper -
Uses of ColumnMapper in org.jdbi.v3.sqlobject.config
Methods in org.jdbi.v3.sqlobject.config that return types with arguments of type ColumnMapper Modifier and Type Method Description java.lang.Class<? extends ColumnMapper<?>>value()The column mapper class to register -
Uses of ColumnMapper in org.jdbi.v3.vavr
Classes in org.jdbi.v3.vavr that implement ColumnMapper Modifier and Type Class Description (package private) classVavrOptionMapper<T>
-