Uses of Class
org.jdbi.v3.core.config.ConfigRegistry
Packages that use ConfigRegistry
Package
Description
The 'core' package hosts the top level interface into jdbi core.
The
argument classes translate Java types into JDBC parameters.
The
array package binds Java arrays and collections to SQL arrays, and
handles mapping array result types back to Java arrays and collections.
The
config classes define a configuration registry starting from
each Jdbi instance.
The
extension classes allow you to extend Jdbi's
functionality by declaring interface types that may attach to Handle
instances.mappers take the JDBC ResultSet and produce Java results.
The
statement package provides most of the Fluent API
to drive statement execution.-
Uses of ConfigRegistry in org.jdbi.v3.core
Methods in org.jdbi.v3.core that return ConfigRegistry -
Uses of ConfigRegistry in org.jdbi.v3.core.argument
Methods in org.jdbi.v3.core.argument with parameters of type ConfigRegistryModifier and TypeMethodDescriptionstatic QualifiedArgumentFactoryQualifiedArgumentFactory.adapt(ConfigRegistry config, ArgumentFactory factory) Adapts anArgumentFactoryinto a QualifiedArgumentFactory.QualifiedArgumentFactory.adapt(ConfigRegistry config, ArgumentFactory.Preparable factory) Adapts anArgumentFactory.Preparableinto a QualifiedArgumentFactory.Preparable.QualifiedArgumentFactory.Preparable.adapt(ConfigRegistry config, ArgumentFactory.Preparable factory) Adapts anArgumentFactory.Preparableinto a QualifiedArgumentFactory.Preparable The returned factory only matches qualified types with zero qualifiers.AbstractArgumentFactory.build(Type type, Object value, ConfigRegistry config) ArgumentFactory.build(Type type, Object value, ConfigRegistry config) Returns anArgumentfor the given value if the factory supports it; empty otherwise.ArgumentFactory.Preparable.build(Type type, Object value, ConfigRegistry config) BuiltInArgumentFactory.build(Type expectedType, Object value, ConfigRegistry config) Deprecated.DirectArgumentFactory.build(Type expectedType, Object value, ConfigRegistry config) ObjectArgumentFactory.build(Type expectedType, Object value, ConfigRegistry config) QualifiedArgumentFactory.build(QualifiedType<?> type, Object value, ConfigRegistry config) Returns anArgumentfor the given value if the factory supports it; empty otherwise.ObjectFieldArguments.getter(String name, ConfigRegistry config) Deprecated.ObjectMethodArguments.getter(String name, ConfigRegistry config) Deprecated.AbstractArgumentFactory.prepare(Type type, ConfigRegistry config) ArgumentFactory.Preparable.prepare(Type type, ConfigRegistry config) BuiltInArgumentFactory.prepare(Type type, ConfigRegistry config) Deprecated.ObjectArgumentFactory.prepare(Type expectedType, ConfigRegistry config) QualifiedArgumentFactory.Preparable.prepare(QualifiedType<?> type, ConfigRegistry config) SetObjectArgumentFactory.prepare(Type type, ConfigRegistry config) voidArguments.setRegistry(ConfigRegistry registry) Constructors in org.jdbi.v3.core.argument with parameters of type ConfigRegistryModifierConstructorDescriptionArguments(ConfigRegistry registry) BeanPropertyArguments(String prefix, Object bean, ConfigRegistry config) Deprecated. -
Uses of ConfigRegistry in org.jdbi.v3.core.array
Methods in org.jdbi.v3.core.array with parameters of type ConfigRegistryModifier and TypeMethodDescriptionOptional<ColumnMapper<?>> SqlArrayMapperFactory.build(Type type, ConfigRegistry config) Optional<SqlArrayType<?>> SqlArrayTypeFactory.build(Type elementType, ConfigRegistry config) Returns anSqlArrayTypefor the givenelementTypeif this factory supports it; empty otherwise.SqlArrayArgumentFactory.prepare(Type type, ConfigRegistry config) voidSqlArrayTypes.setRegistry(ConfigRegistry registry) -
Uses of ConfigRegistry in org.jdbi.v3.core.codec
Methods in org.jdbi.v3.core.codec with parameters of type ConfigRegistryModifier and TypeMethodDescriptionCodecFactory.build(QualifiedType<?> type, Object value, ConfigRegistry config) final Optional<ColumnMapper<?>> CodecFactory.build(QualifiedType<?> type, ConfigRegistry config) Codec.getArgumentFunction(ConfigRegistry configRegistry) default ColumnMapper<T> Codec.getColumnMapper(ConfigRegistry configRegistry) Returns aColumnMapperthat creates an attribute value from a database column.CodecFactory.prepare(QualifiedType<?> type, ConfigRegistry config) -
Uses of ConfigRegistry in org.jdbi.v3.core.config
Methods in org.jdbi.v3.core.config that return ConfigRegistryModifier and TypeMethodDescriptionConfigRegistry.createCopy()Returns a copy of this config registry.Configurable.getConfig()Returns the configuration registry associated with this object.Methods in org.jdbi.v3.core.config with parameters of type ConfigRegistryModifier and TypeMethodDescriptionvoidConfigCustomizer.customize(ConfigRegistry config) Manipulates theConfigRegistryobject.default voidJdbiConfig.setRegistry(ConfigRegistry registry) The registry will inject itself into the configuration object. -
Uses of ConfigRegistry in org.jdbi.v3.core.extension
Methods in org.jdbi.v3.core.extension that return ConfigRegistryModifier and TypeMethodDescriptionExtensionMetadata.createInstanceConfiguration(ConfigRegistry config) Create an instance specific configuration based on all instance customizers.ExtensionMetadata.createMethodConfiguration(Method method, ConfigRegistry config) Create an method specific configuration based on all method customizers.ExtensionContext.getConfig()HandleSupplier.getConfig()Returns the current Jdbi config.Methods in org.jdbi.v3.core.extension with parameters of type ConfigRegistryModifier and TypeMethodDescriptionabstract voidSimpleExtensionConfigurer.configure(ConfigRegistry config, Annotation annotation, Class<?> extensionType) Updates configuration for the given annotation on an extension type.default voidExtensionConfigurer.configureForMethod(ConfigRegistry config, Annotation annotation, Class<?> extensionType, Method method) Configures the config for the given annotation on a extension type method.final voidSimpleExtensionConfigurer.configureForMethod(ConfigRegistry config, Annotation annotation, Class<?> extensionType, Method method) default voidExtensionConfigurer.configureForType(ConfigRegistry config, Annotation annotation, Class<?> extensionType) Updates configuration for the given annotation on an extension type.final voidSimpleExtensionConfigurer.configureForType(ConfigRegistry config, Annotation annotation, Class<?> extensionType) ExtensionMetadata.createExtensionHandlerInvoker(E target, Method method, HandleSupplier handleSupplier, ConfigRegistry config) Creates anExtensionMetadata.ExtensionHandlerInvokerinstance for a specific method.ExtensionMetadata.createInstanceConfiguration(ConfigRegistry config) Create an instance specific configuration based on all instance customizers.ExtensionMetadata.createMethodConfiguration(Method method, ConfigRegistry config) Create an method specific configuration based on all method customizers.static ExtensionContextExtensionContext.forConfig(ConfigRegistry config) Create an extension context for a configuration only.static ExtensionContextExtensionContext.forExtensionMethod(ConfigRegistry config, Class<?> type, Method method) default Collection<ConfigCustomizerFactory> ExtensionFactory.getConfigCustomizerFactories(ConfigRegistry config) Returns a collection ofConfigCustomizerFactoryobjects.default Collection<ExtensionHandlerCustomizer> ExtensionFactory.getExtensionHandlerCustomizers(ConfigRegistry config) Returns a collection ofExtensionHandlerCustomizerobjects.default Collection<ExtensionHandlerFactory> ExtensionFactory.getExtensionHandlerFactories(ConfigRegistry config) Returns a collection ofExtensionHandlerFactoryobjects.voidExtensions.setRegistry(ConfigRegistry registry) default voidExtensionHandler.warm(ConfigRegistry config) Called after the method handler is constructed to pre-initialize any important configuration data structures.Constructors in org.jdbi.v3.core.extension with parameters of type ConfigRegistryModifierConstructorDescriptionExtensionContext(ConfigRegistry config, ExtensionMethod extensionMethod) -
Uses of ConfigRegistry in org.jdbi.v3.core.mapper
Methods in org.jdbi.v3.core.mapper with parameters of type ConfigRegistryModifier and TypeMethodDescriptionOptional<ColumnMapper<?>> BuiltInMapperFactory.build(Type type, ConfigRegistry config) Deprecated.Optional<ColumnMapper<?>> ColumnMapperFactory.build(Type type, ConfigRegistry config) Supplies a column mapper which will map columns to type if the factory supports it; empty otherwise.Optional<ColumnMapper<?>> EnumByNameMapperFactory.build(Type type, ConfigRegistry config) Deprecated.Optional<ColumnMapper<?>> EnumByOrdinalMapperFactory.build(Type type, ConfigRegistry config) Deprecated.GenericMapMapperFactory.build(Type mapType, ConfigRegistry config) Optional<ColumnMapper<?>> GetObjectColumnMapperFactory.build(Type 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.RowMapperFactory.build(Type type, ConfigRegistry config) Supplies a row mapper which will map result set rows to type if the factory supports it; empty otherwise.GenericMapMapperFactory.getMapperForValueType(Class<T> valueType, ConfigRegistry config) Returns aRowMapperfor a map with the given value type.GenericMapMapperFactory.getMapperForValueType(GenericType<T> valueType, ConfigRegistry config) Returns aRowMapperfor a map with the given value type.default voidColumnMapper.init(ConfigRegistry registry) Allows for initialization of the column mapper instance within a ConfigRegistry scope.default voidRowMapper.init(ConfigRegistry registry) Allows for initialization of the row mapper instance within a ConfigRegistry scope.voidColumnMappers.setRegistry(ConfigRegistry registry) voidMappers.setRegistry(ConfigRegistry registry) voidRowMappers.setRegistry(ConfigRegistry registry) -
Uses of ConfigRegistry in org.jdbi.v3.core.mapper.freebuilder
Methods in org.jdbi.v3.core.mapper.freebuilder with parameters of type ConfigRegistry -
Uses of ConfigRegistry in org.jdbi.v3.core.mapper.immutables
Methods in org.jdbi.v3.core.mapper.immutables with parameters of type ConfigRegistry -
Uses of ConfigRegistry in org.jdbi.v3.core.qualifier
Methods in org.jdbi.v3.core.qualifier with parameters of type ConfigRegistry -
Uses of ConfigRegistry in org.jdbi.v3.core.statement
Methods in org.jdbi.v3.core.statement that return ConfigRegistryMethods in org.jdbi.v3.core.statement with parameters of type ConfigRegistryModifier and TypeMethodDescriptionDefinedAttributeTemplateEngine.parse(String template, ConfigRegistry config) default Optional<Function<StatementContext, String>> TemplateEngine.parse(String template, ConfigRegistry config) Parse a SQL template and return a parsed representation ready to apply to a statement.TemplateEngine.Parsing.parse(String template, ConfigRegistry config)