Uses of Class
org.jdbi.v3.core.generic.GenericType
-
Packages that use GenericType Package Description org.jdbi.v3.core.codec org.jdbi.v3.core.collector Thecollectorpackage reduces the mapped rows of the result set into a Stream Collector to produce the final aggregated result.org.jdbi.v3.core.config Theconfigclasses define a configuration registry starting from eachJdbiinstance.org.jdbi.v3.core.mapper mappers take the JDBC ResultSet and produce Java results.org.jdbi.v3.core.qualifier org.jdbi.v3.core.result resultprovides the streaming interface that reads rows from JDBC and drives themapperandcollectorprocesses to produce results.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. -
-
Uses of GenericType in org.jdbi.v3.core.codec
Methods in org.jdbi.v3.core.codec with parameters of type GenericType Modifier and Type Method Description CodecFactory.BuilderCodecFactory.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 GenericType Modifier and Type Method Description static CollectorFactoryCollectorFactory. collectorFactory(GenericType<?> containerType, java.util.stream.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 GenericType Modifier and Type Method Description default <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 GenericType Modifier and Type Method Description <T> java.util.Optional<ColumnMapper<T>>ColumnMappers. findFor(GenericType<T> type)Obtain a column mapper for the given type.<T> java.util.Optional<RowMapper<T>>Mappers. findFor(GenericType<T> type)Obtain a mapper for the given type.<T> java.util.Optional<RowMapper<T>>RowMappers. findFor(GenericType<T> type)Obtain a row mapper for the given type in the given context.static <T> RowMapper<java.util.Map<java.lang.String,T>>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 GenericType Modifier and Type Method Description static <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 GenericType Modifier and Type Method Description <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 java.util.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(java.lang.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<java.util.Map<java.lang.String,T>>BatchResultBearing. mapToMap(GenericType<T> valueType)default <T> ResultIterable<java.util.Map<java.lang.String,T>>ResultBearing. mapToMap(GenericType<T> valueType)Maps this result set to aMapofStringand the given value type. -
Uses of GenericType in org.jdbi.v3.core.statement
Methods in org.jdbi.v3.core.statement with parameters of type GenericType Modifier and Type Method Description ThisSqlStatement. bindByType(int position, java.lang.Object value, GenericType<?> argumentType)Bind an argument dynamically by the generic type passed in.ThisSqlStatement. bindByType(java.lang.String name, java.lang.Object value, GenericType<?> argumentType)Bind an argument dynamically by the generic type passed in.ThisSqlStatement. bindPojo(java.lang.Object pojo, GenericType<?> type)Binds named parameters from object properties on the argument.ThisSqlStatement. bindPojo(java.lang.String prefix, java.lang.Object pojo, GenericType<?> type)Binds named parameters from object properties on the bean argument, with the given prefix.<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<RowMapper<T>>StatementContext. findMapperFor(GenericType<T> type)Obtain a mapper for the given type in this context.<T> java.util.Optional<RowMapper<T>>StatementContext. findRowMapperFor(GenericType<T> type)Obtain a row mapper for the given type in this context.(package private) <T> RowMapper<T>SqlStatement. mapperForType(GenericType<T> type) -
Uses of GenericType in org.jdbi.v3.guice
Methods in org.jdbi.v3.guice with parameters of type GenericType Modifier and Type Method Description default com.google.inject.binder.LinkedBindingBuilder<Codec<?>>JdbiBinder. bindCodec(GenericType<?> genericType)Creates a new binding for aCodecusing aGenericType.default com.google.inject.binder.LinkedBindingBuilder<ColumnMapper<?>>JdbiBinder. bindColumnMapper(GenericType<?> genericType)Creates a new binding for aColumnMapperusing aGenericType.default com.google.inject.binder.LinkedBindingBuilder<RowMapper<?>>JdbiBinder. bindRowMapper(GenericType<?> genericType)Creates a new binding for aRowMapperusing aGenericType. -
Uses of GenericType in org.jdbi.v3.guice.internal
Methods in org.jdbi.v3.guice.internal with parameters of type GenericType Modifier and Type Method Description com.google.inject.binder.LinkedBindingBuilder<Codec<?>>InternalJdbiBinder. bindCodec(GenericType<?> genericType)com.google.inject.binder.LinkedBindingBuilder<ColumnMapper<?>>InternalJdbiBinder. bindColumnMapper(GenericType<?> genericType)com.google.inject.binder.LinkedBindingBuilder<RowMapper<?>>InternalJdbiBinder. bindRowMapper(GenericType<?> genericType)
-