Uses of Class
org.jdbi.v3.core.qualifier.QualifiedType
Packages that use QualifiedType
Package
Description
The
argument classes translate Java types into JDBC parameters.
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 QualifiedType in org.jdbi.v3.core.argument
Methods in org.jdbi.v3.core.argument that return types with arguments of type QualifiedTypeModifier and TypeMethodDescriptiondefault Collection<QualifiedType<?>>QualifiedArgumentFactory.Preparable.prePreparedTypes()Deprecated.no longer usedMethods in org.jdbi.v3.core.argument with parameters of type QualifiedTypeModifier and TypeMethodDescriptionQualifiedArgumentFactory.build(QualifiedType<?> type, Object value, ConfigRegistry config) Returns anArgumentfor the given value if the factory supports it; empty otherwise.Arguments.findFor(QualifiedType<?> type, Object value) Obtain an argument for given value in the given context.QualifiedArgumentFactory.Preparable.prepare(QualifiedType<?> type, ConfigRegistry config) Arguments.prepareFor(QualifiedType<?> type) Obtain a prepared argument function for given type in the given context. -
Uses of QualifiedType in org.jdbi.v3.core.codec
Methods in org.jdbi.v3.core.codec that return types with arguments of type QualifiedTypeModifier and TypeMethodDescriptionfinal Collection<QualifiedType<?>>CodecFactory.prePreparedTypes()Methods in org.jdbi.v3.core.codec with parameters of type QualifiedTypeModifier and TypeMethodDescriptionCodecFactory.Builder.addCodec(QualifiedType<?> type, Codec<?> codec) Add a codec for aQualifiedType.CodecFactory.build(QualifiedType<?> type, Object value, ConfigRegistry config) final Optional<ColumnMapper<?>>CodecFactory.build(QualifiedType<?> type, ConfigRegistry config) static CodecFactoryCodecFactory.forSingleCodec(QualifiedType<?> type, Codec<?> codec) CodecFactory.prepare(QualifiedType<?> type, ConfigRegistry config) Constructor parameters in org.jdbi.v3.core.codec with type arguments of type QualifiedTypeModifierConstructorDescriptionBuilder(Function<Map<QualifiedType<?>, Codec<?>>, CodecFactory> factory) CodecFactory(Map<QualifiedType<?>, Codec<?>> codecMap) Create a new CodecFactory. -
Uses of QualifiedType in org.jdbi.v3.core.config
Methods in org.jdbi.v3.core.config with parameters of type QualifiedTypeModifier and TypeMethodDescriptiondefault <T> ThisConfigurable.registerColumnMapper(QualifiedType<T> type, ColumnMapper<T> mapper) Convenience method forgetConfig(ColumnMappers.class).register(type, mapper) -
Uses of QualifiedType in org.jdbi.v3.core.mapper
Methods in org.jdbi.v3.core.mapper with parameters of type QualifiedTypeModifier and TypeMethodDescriptionOptional<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>>ColumnMappers.findFor(QualifiedType<T> type) Obtain a column mapper for the given qualified type.Mappers.findFor(QualifiedType<T> type) Obtain a mapper for the given qualified type.static <T> QualifiedColumnMapperFactoryQualifiedColumnMapperFactory.of(QualifiedType<T> type, ColumnMapper<T> mapper) Create a QualifiedColumnMapperFactory from a givenColumnMapperthat matches a singleQualifiedTypeexactly.<T> ColumnMappersColumnMappers.register(QualifiedType<T> type, ColumnMapper<T> mapper) Register a column mapper for a givenQualifiedTypeColumn mappers may be reused byRowMapperto map individual columns. -
Uses of QualifiedType in org.jdbi.v3.core.qualifier
Methods in org.jdbi.v3.core.qualifier that return QualifiedTypeModifier and TypeMethodDescriptionApply the provided mapping function to the type, and if non-empty is returned, return anOptional<QualifiedType<?>>with the returned type, and the same qualifiers as this instance.static <T> QualifiedType<T>Creates aQualifiedType<T>for aClass<T>with no qualifiers.static QualifiedType<?>Creates a wildcardQualifiedType<?>for aTypewith no qualifiers.static <T> QualifiedType<T>QualifiedType.of(GenericType<T> type) Creates aQualifiedType<T>for aGenericType<T>with no qualifiers.<ELEM extends AnnotatedElement & Type>
QualifiedType<?>Qualifiers.qualifiedTypeOf(ELEM type) QualifiedType.with(Annotation... newQualifiers) Returns a QualifiedType that has the same type as this instance, but with only the given qualifiers.final QualifiedType<T>QualifiedType.with(Class<? extends Annotation>... newQualifiers) Returns a QualifiedType that has the same type as this instance, but with only the given qualifiers.QualifiedType.withAnnotationClasses(Iterable<Class<? extends Annotation>> newQualifiers) Creates a QualifiedType with the same type as this instance and new qualifiers.QualifiedType.withAnnotations(Iterable<? extends Annotation> newQualifiers) Creates a QualifiedType with the same type as this instance and new qualifiers.Methods in org.jdbi.v3.core.qualifier that return types with arguments of type QualifiedTypeModifier and TypeMethodDescriptionQualifiedType.flatMapType(Function<Type, Optional<Type>> mapper) Apply the provided mapping function to the type, and if non-empty is returned, return anOptional<QualifiedType<?>>with the returned type, and the same qualifiers as this instance. -
Uses of QualifiedType in org.jdbi.v3.core.result
Methods in org.jdbi.v3.core.result with parameters of type QualifiedTypeModifier and TypeMethodDescriptionabstract <T> TRowView.getColumn(int column, QualifiedType<T> type) Use a qualified column mapper to extract a type from the current ResultSet row.abstract <T> TRowView.getColumn(String column, QualifiedType<T> type) Use a qualified column mapper to extract a type from the current ResultSet row.<T> BatchResultIterable<T>BatchResultBearing.mapTo(QualifiedType<T> type) default <T> ResultIterable<T>ResultBearing.mapTo(QualifiedType<T> type) Maps this result set to aResultIterableof the given qualified element type. -
Uses of QualifiedType in org.jdbi.v3.core.statement
Methods in org.jdbi.v3.core.statement with parameters of type QualifiedTypeModifier and TypeMethodDescriptionvoidBinding.addNamed(String name, Object argument, QualifiedType<?> type) Bind a named parameter for the given name.voidBinding.addPositional(int position, Object argument, QualifiedType<?> type) Bind a positional parameter at the given index (0-based).final ThisSqlStatement.bindByType(int position, Object value, QualifiedType<?> argumentType) Bind an argument dynamically by the qualified type passed in.final ThisSqlStatement.bindByType(String name, Object value, QualifiedType<?> argumentType) Bind an argument dynamically by the type passed in.StatementContext.findArgumentFor(QualifiedType<?> type, Object value) Obtain an argument for given value in this context<T> Optional<ColumnMapper<T>>StatementContext.findColumnMapperFor(QualifiedType<T> type) Obtain a column mapper for the given qualified type in this context.StatementContext.findMapperFor(QualifiedType<T> type) Obtain a mapper for the given qualified type in this context. -
Uses of QualifiedType in org.jdbi.v3.guava.codec
Methods in org.jdbi.v3.guava.codec with parameters of type QualifiedTypeModifier and TypeMethodDescriptionstatic CodecFactoryTypeResolvingCodecFactory.forSingleCodec(QualifiedType<?> type, Codec<?> codec) Constructor parameters in org.jdbi.v3.guava.codec with type arguments of type QualifiedTypeModifierConstructorDescriptionTypeResolvingCodecFactory(Map<QualifiedType<?>, Codec<?>> codecMap) Create a new TypeResolvingCodecFactory. -
Uses of QualifiedType in org.jdbi.v3.guice
Methods in org.jdbi.v3.guice with parameters of type QualifiedTypeModifier and TypeMethodDescriptiondefault LinkedBindingBuilder<Codec<?>>JdbiBinder.bindCodec(QualifiedType<?> qualifiedType) Creates a new binding for aCodecusing aQualifiedType.default LinkedBindingBuilder<ColumnMapper<?>>JdbiBinder.bindColumnMapper(QualifiedType<?> qualifiedType) Creates a new binding for aColumnMapperusing aQualifiedType.