Uses of Class
org.jdbi.v3.core.qualifier.QualifiedType
-
Packages that use QualifiedType Package Description org.jdbi.v3.core.argument Theargumentclasses translate Java types into JDBC parameters.org.jdbi.v3.core.argument.internal 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.internal Utility classes used internally by Jdbi.org.jdbi.v3.core.mapper mappers take the JDBC ResultSet and produce Java results.org.jdbi.v3.core.mapper.reflect.internal 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.result.internal org.jdbi.v3.core.statement Thestatementpackage provides most of the Fluent API to drive statement execution.org.jdbi.v3.guava.codec 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.jpa.internal org.jdbi.v3.sqlobject.statement.internal -
-
Uses of QualifiedType in org.jdbi.v3.core.argument
Fields in org.jdbi.v3.core.argument with type parameters of type QualifiedType Modifier and Type Field Description private java.util.Set<QualifiedType<?>>Arguments. didPrepareprivate java.util.Map<QualifiedType<?>,java.util.function.Function<java.lang.Object,Argument>>Arguments. preparedFactoriesMethods in org.jdbi.v3.core.argument that return types with arguments of type QualifiedType Modifier and Type Method Description default java.util.Collection<QualifiedType<?>>QualifiedArgumentFactory.Preparable. prePreparedTypes()Deprecated.no longer usedMethods in org.jdbi.v3.core.argument with parameters of type QualifiedType Modifier and Type Method Description java.util.Optional<Argument>EnumArgumentFactory. build(QualifiedType<?> givenType, java.lang.Object value, ConfigRegistry config)java.util.Optional<Argument>QualifiedArgumentFactory. build(QualifiedType<?> type, java.lang.Object value, ConfigRegistry config)Returns anArgumentfor the given value if the factory supports it; empty otherwise.java.util.Optional<Argument>Arguments. findFor(QualifiedType<?> type, java.lang.Object value)Obtain an argument for given value in the given context.private static <E extends java.lang.Enum<E>>
java.util.Optional<Argument>EnumArgumentFactory. makeEnumArgument(QualifiedType<E> givenType, E value, ConfigRegistry config)java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>QualifiedArgumentFactory.Preparable. prepare(QualifiedType<?> type, ConfigRegistry config)java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>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 QualifiedType Modifier and Type Field Description private QualifiedType<?>TypedValue. typeMethods in org.jdbi.v3.core.argument.internal that return QualifiedType Modifier and Type Method Description QualifiedType<?>TypedValue. getType()Method parameters in org.jdbi.v3.core.argument.internal with type arguments of type QualifiedType Modifier and Type Method Description (package private) java.util.function.Function<java.lang.String,java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>>NamedArgumentFinderFactory.Pojo. forPojoProps(java.util.function.Function<QualifiedType<?>,java.util.function.Function<java.lang.Object,Argument>> argumentFactoryLookup, PojoPropertyArguments ppa)java.util.function.Function<java.lang.String,java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>>NamedArgumentFinderFactory.Bean. prepareFor(ConfigRegistry config, java.util.function.Function<QualifiedType<?>,java.util.function.Function<java.lang.Object,Argument>> argumentFactoryLookup, java.lang.String prefix, java.lang.Object example, java.lang.reflect.Type type)java.util.function.Function<java.lang.String,java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>>NamedArgumentFinderFactory.Pojo. prepareFor(ConfigRegistry config, java.util.function.Function<QualifiedType<?>,java.util.function.Function<java.lang.Object,Argument>> argumentFactoryLookup, java.lang.String prefix, java.lang.Object example, java.lang.reflect.Type type)java.util.function.Function<java.lang.String,java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>>NamedArgumentFinderFactory. prepareFor(ConfigRegistry config, java.util.function.Function<QualifiedType<?>,java.util.function.Function<java.lang.Object,Argument>> argumentFactoryLookup, java.lang.String prefix, java.lang.Object example, java.lang.reflect.Type type)java.util.function.Function<java.lang.String,java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>>NamedArgumentFinderFactory.ReflectionBase. prepareFor(ConfigRegistry config, java.util.function.Function<QualifiedType<?>,java.util.function.Function<java.lang.Object,Argument>> argumentFactoryLookup, java.lang.String prefix, java.lang.Object example, java.lang.reflect.Type type)Constructors in org.jdbi.v3.core.argument.internal with parameters of type QualifiedType Constructor Description TypedValue(QualifiedType<?> qualifiedType, java.lang.Object value) -
Uses of QualifiedType in org.jdbi.v3.core.codec
Fields in org.jdbi.v3.core.codec with type parameters of type QualifiedType Modifier and Type Field Description private java.util.Map<QualifiedType<?>,Codec<?>>CodecFactory.Builder. codecMapprotected java.util.concurrent.ConcurrentMap<QualifiedType<?>,Codec<?>>CodecFactory. codecMapMap of all known codecs in this factory.private java.util.function.Function<java.util.Map<QualifiedType<?>,Codec<?>>,CodecFactory>CodecFactory.Builder. factoryMethods in org.jdbi.v3.core.codec that return types with arguments of type QualifiedType Modifier and Type Method Description java.util.Collection<QualifiedType<?>>CodecFactory. prePreparedTypes()Methods in org.jdbi.v3.core.codec with parameters of type QualifiedType Modifier and Type Method Description CodecFactory.BuilderCodecFactory.Builder. addCodec(QualifiedType<?> type, Codec<?> codec)Add a codec for aQualifiedType.java.util.Optional<Argument>CodecFactory. build(QualifiedType<?> type, java.lang.Object value, ConfigRegistry config)java.util.Optional<ColumnMapper<?>>CodecFactory. build(QualifiedType<?> type, ConfigRegistry config)static CodecFactoryCodecFactory. forSingleCodec(QualifiedType<?> type, Codec<?> codec)java.util.Optional<java.util.function.Function<java.lang.Object,Argument>>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 QualifiedType Constructor Description Builder(java.util.function.Function<java.util.Map<QualifiedType<?>,Codec<?>>,CodecFactory> factory)CodecFactory(java.util.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 QualifiedType Modifier and Type Method Description default <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 QualifiedType Modifier and Type Method Description java.util.Optional<ColumnMapper<?>>EnumMapperFactory. build(QualifiedType<?> givenType, ConfigRegistry config)private static <E extends java.lang.Enum<E>>
ColumnMapper<?>EnumMapperFactory. makeEnumArgument(QualifiedType<E> givenType, java.lang.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 QualifiedType Modifier and Type Method Description private static <T> java.util.Optional<EnumStrategy>EnumStrategies. doFindStrategy(QualifiedType<T> type)<E extends java.lang.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 QualifiedType Modifier and Type Field Description private QualifiedType<?>InferredColumnMapperFactory. mapsFields in org.jdbi.v3.core.mapper with type parameters of type QualifiedType Modifier and Type Field Description private java.util.Map<QualifiedType<?>,java.util.Optional<? extends ColumnMapper<?>>>ColumnMappers. cacheMethods in org.jdbi.v3.core.mapper with parameters of type QualifiedType Modifier and Type Method Description java.util.Optional<ColumnMapper<?>>InferredColumnMapperFactory. build(QualifiedType<?> 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.<T> java.util.Optional<ColumnMapper<T>>ColumnMappers. findFor(QualifiedType<T> type)Obtain a column mapper for the given qualified type.<T> java.util.Optional<RowMapper<T>>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 QualifiedType Modifier and Type Field Description (package private) QualifiedType<?>BeanPropertiesFactory.BeanPojoProperties.BeanPojoProperty. qualifiedTypeprivate QualifiedType<?>BuilderPojoProperties.BuilderPojoProperty. typeMethods in org.jdbi.v3.core.mapper.reflect.internal that return QualifiedType Modifier and Type Method Description private QualifiedType<?>BeanPropertiesFactory.BeanPojoProperties.BeanPojoProperty. determineQualifiedType()QualifiedType<?>BeanPropertiesFactory.BeanPojoProperties.BeanPojoProperty. getQualifiedType()QualifiedType<?>BuilderPojoProperties.BuilderPojoProperty. getQualifiedType()QualifiedType<?>PojoProperties.PojoProperty. getQualifiedType()Constructors in org.jdbi.v3.core.mapper.reflect.internal with parameters of type QualifiedType Constructor Description BuilderPojoProperty(java.lang.String name, QualifiedType<?> type, java.lang.reflect.Method defn, java.lang.invoke.MethodHandle isSet, java.lang.invoke.MethodHandle getter, java.lang.invoke.MethodHandle setter) -
Uses of QualifiedType in org.jdbi.v3.core.qualifier
Fields in org.jdbi.v3.core.qualifier with type parameters of type QualifiedType Modifier and Type Field Description private static ConfigCache<java.lang.reflect.AnnotatedElement,QualifiedType<?>>Qualifiers. QUALIFIED_TYPE_CACHEMethods in org.jdbi.v3.core.qualifier that return QualifiedType Modifier and Type Method Description QualifiedType<?>QualifiedType. mapType(java.util.function.Function<java.lang.reflect.Type,java.lang.reflect.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.static <T> QualifiedType<T>QualifiedType. of(java.lang.Class<T> clazz)Creates aQualifiedType<T>for aClass<T>with no qualifiers.static QualifiedType<?>QualifiedType. of(java.lang.reflect.Type type)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 java.lang.reflect.AnnotatedElement & java.lang.reflect.Type>
QualifiedType<?>Qualifiers. qualifiedTypeOf(ELEM type)QualifiedType<T>QualifiedType. with(java.lang.annotation.Annotation... newQualifiers)Returns a QualifiedType that has the same type as this instance, but with only the given qualifiers.QualifiedType<T>QualifiedType. with(java.lang.Class<? extends java.lang.annotation.Annotation>... newQualifiers)Returns a QualifiedType that has the same type as this instance, but with only the given qualifiers.QualifiedType<T>QualifiedType. withAnnotationClasses(java.lang.Iterable<java.lang.Class<? extends java.lang.annotation.Annotation>> newQualifiers)Creates a QualifiedType with the same type as this instance and new qualifiers.QualifiedType<T>QualifiedType. withAnnotations(java.lang.Iterable<? extends java.lang.annotation.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 QualifiedType Modifier and Type Method Description java.util.Optional<QualifiedType<?>>QualifiedType. flatMapType(java.util.function.Function<java.lang.reflect.Type,java.util.Optional<java.lang.reflect.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 QualifiedType Modifier and Type Method Description abstract <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(java.lang.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 QualifiedType Modifier and Type Field Description private java.util.Map<QualifiedType<?>,ColumnMapper<?>>RowViewImpl. columnMappersMethods in org.jdbi.v3.core.result.internal with parameters of type QualifiedType Modifier and Type Method Description private 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(java.lang.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 QualifiedType Modifier and Type Field Description (package private) java.util.Map<QualifiedType<?>,java.util.function.Function<java.lang.Object,Argument>>ArgumentBinder. argumentFactoryByTypeMethods in org.jdbi.v3.core.statement that return QualifiedType Modifier and Type Method Description (package private) QualifiedType<?>ArgumentBinder. typeOf(java.lang.Object value)Methods in org.jdbi.v3.core.statement with parameters of type QualifiedType Modifier and Type Method Description voidBinding. addNamed(java.lang.String name, java.lang.Object argument, QualifiedType<?> type)Bind a named parameter for the given name.voidBinding. addPositional(int position, java.lang.Object argument, QualifiedType<?> type)Bind a positional parameter at the given index (0-based).(package private) java.util.function.Function<java.lang.Object,Argument>ArgumentBinder. argumentFactoryForType(QualifiedType<?> type)ThisSqlStatement. bindByType(int position, java.lang.Object value, QualifiedType<?> argumentType)Bind an argument dynamically by the qualified type passed in.ThisSqlStatement. bindByType(java.lang.String name, java.lang.Object value, QualifiedType<?> argumentType)Bind an argument dynamically by the type passed in.(package private) java.util.function.Function<java.lang.Object,Argument>PreparedBatch. buildArgument(QualifiedType<?> type)private UnableToCreateStatementExceptionArgumentBinder. factoryNotFound(QualifiedType<?> qualifiedType, java.lang.Object value)java.util.Optional<Argument>StatementContext. findArgumentFor(QualifiedType<?> type, java.lang.Object value)Obtain an argument for given value 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.<T> java.util.Optional<RowMapper<T>>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 QualifiedType Modifier and Type Method Description static 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 QualifiedType Constructor Description TypeResolvingCodecFactory(java.util.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 QualifiedType Modifier and Type Method Description default 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 QualifiedType Modifier and Type Field Description private com.google.inject.multibindings.MapBinder<QualifiedType<?>,Codec<?>>InternalJdbiBinder. codecBinderprivate static com.google.inject.TypeLiteral<java.util.Map<QualifiedType<?>,Codec<?>>>InternalGlobalJdbiModule. CODECS_TYPE_LITERALprivate 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 with parameters of type QualifiedType Modifier and Type Method Description com.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 QualifiedType Modifier and Type Field Description private QualifiedType<?>JpaMember. qualifiedTypeMethods in org.jdbi.v3.jpa.internal that return QualifiedType Modifier and Type Method Description QualifiedType<?>JpaMember. getQualifiedType() -
Uses of QualifiedType in org.jdbi.v3.sqlobject.statement.internal
Fields in org.jdbi.v3.sqlobject.statement.internal declared as QualifiedType Modifier and Type Field Description private QualifiedType<?>ResultReturner.ConsumerResultReturner. elementTypeprivate QualifiedType<?>ResultReturner.IteratorReturner. elementTypeprivate QualifiedType<?>ResultReturner.ResultIterableReturner. elementTypeprivate QualifiedType<?>ResultReturner.ResultIteratorReturner. elementTypeprivate QualifiedType<?>ResultReturner.StreamReturner. elementTypeprivate QualifiedType<T>ResultReturner.CollectedResultReturner. returnTypeprivate QualifiedType<T>ResultReturner.SingleValueReturner. returnTypeMethods in org.jdbi.v3.sqlobject.statement.internal that return QualifiedType Modifier and Type Method Description protected 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 QualifiedType Modifier and Type Method Description private static java.lang.ObjectResultReturner. checkResult(java.lang.Object result, QualifiedType<?> type)private java.lang.StringSqlUpdateHandler. invalidReturnTypeMessage(java.lang.reflect.Method method, QualifiedType<?> returnType)Constructors in org.jdbi.v3.sqlobject.statement.internal with parameters of type QualifiedType Constructor Description CollectedResultReturner(QualifiedType<T> returnType)ConsumeEachResultReturner(int consumerIndex, QualifiedType<?> elementType)ConsumeIterableResultReturner(int consumerIndex, QualifiedType<?> elementType)ConsumeIteratorResultReturner(int consumerIndex, QualifiedType<?> elementType)ConsumerResultReturner(int consumerIndex, QualifiedType<?> elementType)ConsumeStreamResultReturner(int consumerIndex, QualifiedType<?> elementType)IteratorReturner(QualifiedType<?> returnType)ResultIterableReturner(QualifiedType<?> returnType)ResultIteratorReturner(QualifiedType<?> returnType)SingleValueReturner(QualifiedType<T> returnType)StreamReturner(QualifiedType<?> returnType)
-