Uses of Class
org.jdbi.v3.core.generic.GenericType
Packages that use GenericType
Package
Description
The
collector package reduces the mapped rows of the result set
into a Stream Collector to produce the final aggregated result.
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.-
Uses of GenericType in org.jdbi.v3.core.codec
Methods in org.jdbi.v3.core.codec with parameters of type GenericTypeModifier and TypeMethodDescriptionCodecFactory.Builder.addCodec(GenericType<?> type, Codec<?> codec) Add a codec for aGenericType. -
Uses of GenericType in org.jdbi.v3.core.collector
Methods in org.jdbi.v3.core.collector with parameters of type GenericTypeModifier and TypeMethodDescriptionstatic CollectorFactoryCollectorFactory.collectorFactory(GenericType<?> containerType, Collector<?, ?, ?> collector) Creates aCollectorFactoryfrom a parameterized container type and a collector. -
Uses of GenericType in org.jdbi.v3.core.config
Methods in org.jdbi.v3.core.config with parameters of type GenericTypeModifier and TypeMethodDescriptiondefault <T> ThisConfigurable.registerColumnMapper(GenericType<T> type, ColumnMapper<T> mapper) Convenience method forgetConfig(ColumnMappers.class).register(type, mapper)default <T> ThisConfigurable.registerRowMapper(GenericType<T> type, RowMapper<T> mapper) Convenience method forgetConfig(RowMappers.class).register(type, mapper) -
Uses of GenericType in org.jdbi.v3.core.mapper
Methods in org.jdbi.v3.core.mapper with parameters of type GenericTypeModifier and TypeMethodDescription<T> Optional<ColumnMapper<T>>ColumnMappers.findFor(GenericType<T> type) Obtain a column mapper for the given type.Mappers.findFor(GenericType<T> type) Obtain a mapper for the given type.RowMappers.findFor(GenericType<T> type) Obtain a row mapper for the given type in the given context.GenericMapMapperFactory.getMapperForValueType(GenericType<T> valueType, ConfigRegistry config) <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.<T> RowMappersRowMappers.register(GenericType<T> type, RowMapper<T> mapper) Register a row mapper for a given type. -
Uses of GenericType in org.jdbi.v3.core.qualifier
Methods in org.jdbi.v3.core.qualifier with parameters of type GenericTypeModifier and TypeMethodDescriptionstatic <T> QualifiedType<T>QualifiedType.of(GenericType<T> type) Creates aQualifiedType<T>for aGenericType<T>with no qualifiers. -
Uses of GenericType in org.jdbi.v3.core.result
Methods in org.jdbi.v3.core.result with parameters of type GenericTypeModifier and TypeMethodDescription<R> RBatchResultBearing.collectInto(GenericType<R> containerType) default <R> RResultBearing.collectInto(GenericType<R> containerType) Collect the results into a container of the given generic type.default <R extends Collection<? super T>>
RResultIterable.collectInto(GenericType<R> containerType) Collect the results into a collection type.<T> TRowView.getColumn(int column, GenericType<T> type) Use a column mapper to extract a type from the current ResultSet row.<T> TRowView.getColumn(String column, GenericType<T> type) Use a column mapper to extract a type from the current ResultSet row.<T> TRowView.getRow(GenericType<T> rowType) Use a row mapper to extract a type from the current ResultSet row.<T> BatchResultIterable<T>BatchResultBearing.mapTo(GenericType<T> type) default <T> ResultIterable<T>ResultBearing.mapTo(GenericType<T> type) Maps this result set to aResultIterableof the given element type.<T> BatchResultIterable<Map<String,T>> BatchResultBearing.mapToMap(GenericType<T> valueType) default <T> ResultIterable<Map<String,T>> ResultBearing.mapToMap(GenericType<T> valueType) -
Uses of GenericType in org.jdbi.v3.core.statement
Methods in org.jdbi.v3.core.statement with parameters of type GenericTypeModifier and TypeMethodDescriptionfinal ThisSqlStatement.bindByType(int position, Object value, GenericType<?> argumentType) Bind an argument dynamically by the generic type passed in.final ThisSqlStatement.bindByType(String name, Object value, GenericType<?> argumentType) Bind an argument dynamically by the generic type passed in.SqlStatement.bindPojo(Object pojo, GenericType<?> type) Binds named parameters from object properties on the argument.SqlStatement.bindPojo(String prefix, Object pojo, GenericType<?> type) Binds named parameters from object properties on the bean argument, with the given prefix.<T> Optional<ColumnMapper<T>>StatementContext.findColumnMapperFor(GenericType<T> type) Obtain a column mapper for the given type in this context.StatementContext.findMapperFor(GenericType<T> type) Obtain a mapper for the given type in this context.StatementContext.findRowMapperFor(GenericType<T> type) Obtain a row mapper for the given type in this context. -
Uses of GenericType in org.jdbi.v3.guice
Methods in org.jdbi.v3.guice with parameters of type GenericTypeModifier and TypeMethodDescriptiondefault LinkedBindingBuilder<Codec<?>>JdbiBinder.bindCodec(GenericType<?> genericType) Creates a new binding for aCodecusing aGenericType.default LinkedBindingBuilder<ColumnMapper<?>>JdbiBinder.bindColumnMapper(GenericType<?> genericType) Creates a new binding for aColumnMapperusing aGenericType.default LinkedBindingBuilder<RowMapper<?>>JdbiBinder.bindRowMapper(GenericType<?> genericType) Creates a new binding for aRowMapperusing aGenericType.