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.Utility classes used internally by Jdbi.
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.
-
Uses of QualifiedType in org.jdbi.v3.core.argument
Fields in org.jdbi.v3.core.argument with type parameters of type QualifiedTypeModifier and TypeFieldDescriptionprivate final Set<QualifiedType<?>>Arguments.didPrepareprivate final Map<QualifiedType<?>,Function<Object, Argument>> Arguments.preparedFactoriesMethods 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 TypeMethodDescriptionEnumArgumentFactory.build(QualifiedType<?> givenType, Object value, ConfigRegistry config) QualifiedArgumentFactory.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.EnumArgumentFactory.makeEnumArgument(QualifiedType<E> givenType, E value, ConfigRegistry config) 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.argument.internal
Fields in org.jdbi.v3.core.argument.internal declared as QualifiedTypeMethods in org.jdbi.v3.core.argument.internal that return QualifiedTypeMethod parameters in org.jdbi.v3.core.argument.internal with type arguments of type QualifiedTypeModifier and TypeMethodDescriptionNamedArgumentFinderFactory.Pojo.forPojoProps(Function<QualifiedType<?>, Function<Object, Argument>> argumentFactoryLookup, PojoPropertyArguments ppa) NamedArgumentFinderFactory.Bean.prepareFor(ConfigRegistry config, Function<QualifiedType<?>, Function<Object, Argument>> argumentFactoryLookup, String prefix, Object example, Type type) NamedArgumentFinderFactory.Pojo.prepareFor(ConfigRegistry config, Function<QualifiedType<?>, Function<Object, Argument>> argumentFactoryLookup, String prefix, Object example, Type type) NamedArgumentFinderFactory.prepareFor(ConfigRegistry config, Function<QualifiedType<?>, Function<Object, Argument>> argumentFactoryLookup, String prefix, Object example, Type type) NamedArgumentFinderFactory.ReflectionBase.prepareFor(ConfigRegistry config, Function<QualifiedType<?>, Function<Object, Argument>> argumentFactoryLookup, String prefix, Object example, Type type) Constructors in org.jdbi.v3.core.argument.internal with parameters of type QualifiedType -
Uses of QualifiedType in org.jdbi.v3.core.codec
Fields in org.jdbi.v3.core.codec with type parameters of type QualifiedTypeModifier and TypeFieldDescriptionprivate final Map<QualifiedType<?>,Codec<?>> CodecFactory.Builder.codecMapprotected final ConcurrentMap<QualifiedType<?>,Codec<?>> CodecFactory.codecMapMap of all known codecs in this factory.private final Function<Map<QualifiedType<?>,Codec<?>>, CodecFactory> CodecFactory.Builder.factoryMethods 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) protected Codec<?>CodecFactory.resolveType(QualifiedType<?> qualifiedType) Extension point for type resolution.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.enums.internal
Methods in org.jdbi.v3.core.enums.internal with parameters of type QualifiedTypeModifier and TypeMethodDescriptionOptional<ColumnMapper<?>>EnumMapperFactory.build(QualifiedType<?> givenType, ConfigRegistry config) private static <E extends Enum<E>>
ColumnMapper<?>EnumMapperFactory.makeEnumArgument(QualifiedType<E> givenType, Class<E> enumClass, ConfigRegistry config) -
Uses of QualifiedType in org.jdbi.v3.core.internal
Methods in org.jdbi.v3.core.internal with parameters of type QualifiedTypeModifier and TypeMethodDescriptionprivate static <T> Optional<EnumStrategy>EnumStrategies.doFindStrategy(QualifiedType<T> type) <E extends Enum<E>>
EnumStrategyEnumStrategies.findStrategy(QualifiedType<E> type) Determines which strategy is to be used for a givenQualifiedType, falling back to reading strategy annotations on the source class and/or using the configured default. -
Uses of QualifiedType in org.jdbi.v3.core.mapper
Fields in org.jdbi.v3.core.mapper declared as QualifiedTypeFields in org.jdbi.v3.core.mapper with type parameters of type QualifiedTypeModifier and TypeFieldDescriptionprivate final Map<QualifiedType<?>,Optional<? extends ColumnMapper<?>>> ColumnMappers.cacheMethods in org.jdbi.v3.core.mapper with parameters of type QualifiedTypeModifier and TypeMethodDescriptionOptional<ColumnMapper<?>>InferredColumnMapperFactory.build(QualifiedType<?> 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.<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.mapper.reflect.internal
Fields in org.jdbi.v3.core.mapper.reflect.internal declared as QualifiedTypeModifier and TypeFieldDescription(package private) final QualifiedType<?>BeanPropertiesFactory.BeanPojoProperties.BeanPojoProperty.qualifiedTypeprivate final QualifiedType<?>BuilderPojoProperties.BuilderPojoProperty.typeMethods in org.jdbi.v3.core.mapper.reflect.internal that return QualifiedTypeModifier and TypeMethodDescriptionprivate QualifiedType<?>BeanPropertiesFactory.BeanPojoProperties.BeanPojoProperty.determineQualifiedType()BeanPropertiesFactory.BeanPojoProperties.BeanPojoProperty.getQualifiedType()BuilderPojoProperties.BuilderPojoProperty.getQualifiedType()PojoProperties.PojoProperty.getQualifiedType()Constructors in org.jdbi.v3.core.mapper.reflect.internal with parameters of type QualifiedTypeModifierConstructorDescription(package private)BuilderPojoProperty(String name, QualifiedType<?> type, Method defn, MethodHandle isSet, MethodHandle getter, MethodHandle setter) -
Uses of QualifiedType in org.jdbi.v3.core.qualifier
Fields in org.jdbi.v3.core.qualifier with type parameters of type QualifiedTypeModifier and TypeFieldDescriptionprivate static final ConfigCache<AnnotatedElement,QualifiedType<?>> Qualifiers.QUALIFIED_TYPE_CACHEMethods 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.result.internal
Fields in org.jdbi.v3.core.result.internal with type parameters of type QualifiedTypeModifier and TypeFieldDescriptionprivate final Map<QualifiedType<?>,ColumnMapper<?>> RowViewImpl.columnMappersMethods in org.jdbi.v3.core.result.internal with parameters of type QualifiedTypeModifier and TypeMethodDescriptionprivate ColumnMapper<?>RowViewImpl.columnMapperFor(QualifiedType<?> type) <T> TRowViewImpl.getColumn(int column, QualifiedType<T> type) Use a qualified column mapper to extract a type from the current ResultSet row.<T> TRowViewImpl.getColumn(String column, QualifiedType<T> type) Use a qualified column mapper to extract a type from the current ResultSet row. -
Uses of QualifiedType in org.jdbi.v3.core.statement
Fields in org.jdbi.v3.core.statement with type parameters of type QualifiedTypeModifier and TypeFieldDescription(package private) final Map<QualifiedType<?>,Function<Object, Argument>> ArgumentBinder.argumentFactoryByTypeMethods in org.jdbi.v3.core.statement that return QualifiedTypeMethods 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).ArgumentBinder.argumentFactoryForType(QualifiedType<?> type) 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.PreparedBatch.buildArgument(QualifiedType<?> type) private UnableToCreateStatementExceptionArgumentBinder.factoryNotFound(QualifiedType<?> qualifiedType, Object value) 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) protected Codec<?>TypeResolvingCodecFactory.resolveType(QualifiedType<?> qualifiedType) 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 com.google.inject.binder.LinkedBindingBuilder<Codec<?>>JdbiBinder.bindCodec(QualifiedType<?> qualifiedType) Creates a new binding for aCodecusing aQualifiedType.default com.google.inject.binder.LinkedBindingBuilder<ColumnMapper<?>>JdbiBinder.bindColumnMapper(QualifiedType<?> qualifiedType) Creates a new binding for aColumnMapperusing aQualifiedType. -
Uses of QualifiedType in org.jdbi.v3.guice.internal
Fields in org.jdbi.v3.guice.internal with type parameters of type QualifiedTypeModifier and TypeFieldDescriptionprivate final com.google.inject.multibindings.MapBinder<QualifiedType<?>,Codec<?>> InternalJdbiBinder.codecBinderprivate static final com.google.inject.TypeLiteral<Map<QualifiedType<?>,Codec<?>>> InternalGlobalJdbiModule.CODECS_TYPE_LITERALprivate 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 with parameters of type QualifiedTypeModifier and TypeMethodDescriptioncom.google.inject.binder.LinkedBindingBuilder<Codec<?>>InternalJdbiBinder.bindCodec(QualifiedType<?> qualifiedType) com.google.inject.binder.LinkedBindingBuilder<ColumnMapper<?>>InternalJdbiBinder.bindColumnMapper(QualifiedType<?> qualifiedType) -
Uses of QualifiedType in org.jdbi.v3.jpa.internal
Fields in org.jdbi.v3.jpa.internal declared as QualifiedTypeMethods in org.jdbi.v3.jpa.internal that return QualifiedType -
Uses of QualifiedType in org.jdbi.v3.sqlobject.statement.internal
Fields in org.jdbi.v3.sqlobject.statement.internal declared as QualifiedTypeModifier and TypeFieldDescriptionprivate final QualifiedType<?>ResultReturner.ConsumerResultReturner.elementTypeprivate final QualifiedType<?>ResultReturner.IteratorReturner.elementTypeprivate final QualifiedType<?>ResultReturner.ResultIterableReturner.elementTypeprivate final QualifiedType<?>ResultReturner.ResultIteratorReturner.elementTypeprivate final QualifiedType<?>ResultReturner.StreamReturner.elementTypeprivate final QualifiedType<T>ResultReturner.CollectedResultReturner.returnTypeprivate final QualifiedType<T>ResultReturner.SingleValueReturner.returnTypeMethods in org.jdbi.v3.sqlobject.statement.internal that return QualifiedTypeModifier and TypeMethodDescriptionprotected QualifiedType<?>ResultReturner.CollectedResultReturner.elementType(ConfigRegistry config) protected QualifiedType<?>ResultReturner.ConsumerResultReturner.elementType(ConfigRegistry config) protected abstract QualifiedType<?>ResultReturner.elementType(ConfigRegistry config) protected QualifiedType<?>ResultReturner.IteratorReturner.elementType(ConfigRegistry config) protected QualifiedType<?>ResultReturner.ResultIterableReturner.elementType(ConfigRegistry config) protected QualifiedType<?>ResultReturner.ResultIteratorReturner.elementType(ConfigRegistry config) protected QualifiedType<T>ResultReturner.SingleValueReturner.elementType(ConfigRegistry config) protected QualifiedType<?>ResultReturner.StreamReturner.elementType(ConfigRegistry config) protected QualifiedType<?>ResultReturner.VoidReturner.elementType(ConfigRegistry config) Methods in org.jdbi.v3.sqlobject.statement.internal with parameters of type QualifiedTypeModifier and TypeMethodDescriptionprivate static ObjectResultReturner.checkResult(Object result, QualifiedType<?> type) private StringSqlUpdateHandler.invalidReturnTypeMessage(Method method, QualifiedType<?> returnType) Constructors in org.jdbi.v3.sqlobject.statement.internal with parameters of type QualifiedTypeModifierConstructorDescription(package private)CollectedResultReturner(QualifiedType<T> returnType) (package private)ConsumeEachResultReturner(int consumerIndex, QualifiedType<?> elementType) (package private)ConsumeIterableResultReturner(int consumerIndex, QualifiedType<?> elementType) (package private)ConsumeIteratorResultReturner(int consumerIndex, QualifiedType<?> elementType) (package private)ConsumerResultReturner(int consumerIndex, QualifiedType<?> elementType) (package private)ConsumeStreamResultReturner(int consumerIndex, QualifiedType<?> elementType) (package private)IteratorReturner(QualifiedType<?> returnType) (package private)ResultIterableReturner(QualifiedType<?> returnType) (package private)ResultIteratorReturner(QualifiedType<?> returnType) (package private)SingleValueReturner(QualifiedType<T> returnType) (package private)StreamReturner(QualifiedType<?> returnType)