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.mapper
s take the JDBC ResultSet and produce Java results.
The
statement
package provides most of the Fluent API
to drive statement execution.freemarker
provides advanced string template processing.
The
jpa
plugin provides minimal support for discovering JPA
annotations like Column
.
The
postgres
plugin provides improved support for
java.time
, hstore
, uuid
, and enum
types when configured with a recent Postgres database server.SQL Objects
The
sqlobject.config
package defines configuration annotations
that modify the Jdbi
configuration used as the context for executing
SqlObject methods, such as registering handled types.
The
sqlobject.customizer
package provides annotations
that customize the execution of a statement.sqlobject.locator
inspects the declared SqlObject and determines
the statement text to pass off to core.locator
for final
resolution of the statement text.vavr
is a functional programming library for the JVM.-
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 QualifiedArgumentFactory
QualifiedArgumentFactory.adapt
(ConfigRegistry config, ArgumentFactory factory) Adapts anArgumentFactory
into a QualifiedArgumentFactory.QualifiedArgumentFactory.adapt
(ConfigRegistry config, ArgumentFactory.Preparable factory) Adapts anArgumentFactory.Preparable
into a QualifiedArgumentFactory.Preparable.QualifiedArgumentFactory.Preparable.adapt
(ConfigRegistry config, ArgumentFactory.Preparable factory) Adapts anArgumentFactory.Preparable
into 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 anArgument
for 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 anArgument
for 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) void
Arguments.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 anSqlArrayType
for the givenelementType
if this factory supports it; empty otherwise.SqlArrayArgumentFactory.prepare
(Type type, ConfigRegistry config) void
SqlArrayTypes.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 aColumnMapper
that 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 TypeMethodDescriptionJdbiCache.get
(K key, ConfigRegistry config) default void
JdbiConfig.setRegistry
(ConfigRegistry registry) The registry will inject itself into the configuration object.Method parameters in org.jdbi.v3.core.config with type arguments of type ConfigRegistryModifier and TypeMethodDescriptionstatic <K,
V> JdbiCache<K, V> JdbiCaches.declare
(BiFunction<ConfigRegistry, K, V> computer) static <K,
V> JdbiCache<K, V> JdbiCaches.declare
(Function<K, ?> keyNormalizer, BiFunction<ConfigRegistry, K, V> computer) -
Uses of ConfigRegistry in org.jdbi.v3.core.extension
Methods in org.jdbi.v3.core.extension with parameters of type ConfigRegistryModifier and TypeMethodDescription<V> V
HandleSupplier.invokeInContext
(ExtensionMethod extensionMethod, ConfigRegistry config, Callable<V> task) Bind an extension method and configuration registry to the Handle, invoke the given task, then reset the Handle's extension state. -
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) GenericMapMapperFactory.getMapperForValueType
(GenericType<T> valueType, ConfigRegistry config) default void
ColumnMapper.init
(ConfigRegistry registry) Allows for initialization of the column mapper instance within a ConfigRegistry scope.default void
RowMapper.init
(ConfigRegistry registry) Allows for initialization of the row mapper instance within a ConfigRegistry scope.void
ColumnMappers.setRegistry
(ConfigRegistry registry) void
Mappers.setRegistry
(ConfigRegistry registry) void
RowMappers.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) -
Uses of ConfigRegistry in org.jdbi.v3.freemarker
Methods in org.jdbi.v3.freemarker with parameters of type ConfigRegistryModifier and TypeMethodDescriptionFreemarkerEngine.parse
(String sqlTemplate, ConfigRegistry config) -
Uses of ConfigRegistry in org.jdbi.v3.jpa
Methods in org.jdbi.v3.jpa with parameters of type ConfigRegistry -
Uses of ConfigRegistry in org.jdbi.v3.json
Methods in org.jdbi.v3.json with parameters of type ConfigRegistryModifier and TypeMethodDescriptionJsonMapper.fromJson
(Type type, String json, ConfigRegistry config) JsonMapper.toJson
(Type type, Object value, ConfigRegistry config) -
Uses of ConfigRegistry in org.jdbi.v3.postgres
Methods in org.jdbi.v3.postgres with parameters of type ConfigRegistryModifier and TypeMethodDescriptionDurationArgumentFactory.build
(Duration duration, ConfigRegistry config) Optional<ColumnMapper<?>>
DurationColumnMapperFactory.build
(Type type, ConfigRegistry config) PeriodArgumentFactory.build
(Period period, ConfigRegistry config) Optional<ColumnMapper<?>>
PeriodColumnMapperFactory.build
(Type type, ConfigRegistry config) void
PostgresTypes.setRegistry
(ConfigRegistry registry) -
Uses of ConfigRegistry in org.jdbi.v3.sqlobject
Methods in org.jdbi.v3.sqlobject with parameters of type ConfigRegistryModifier and TypeMethodDescriptiondefault void
Handler.warm
(ConfigRegistry config) Called after the method handler is constructed to pre-initialize any important configuration data structures. -
Uses of ConfigRegistry in org.jdbi.v3.sqlobject.config
Methods in org.jdbi.v3.sqlobject.config with parameters of type ConfigRegistryModifier and TypeMethodDescriptiondefault void
Configurer.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) Configures the registry for the given annotation on a sql object method.default void
Configurer.configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) Configures the registry for the given annotation on a sql object type. -
Uses of ConfigRegistry in org.jdbi.v3.sqlobject.customizer
Methods in org.jdbi.v3.sqlobject.customizer with parameters of type ConfigRegistryModifier and TypeMethodDescriptiondefault void
SqlStatementCustomizer.warm
(ConfigRegistry config) Called after the customizer is instantiated but before any statement is available, to pre-initialize any configuration data structures.default void
SqlStatementParameterCustomizer.warm
(ConfigRegistry config) Called after the customizer is instantiated but before any statement is available, to pre-initialize any configuration data structures. -
Uses of ConfigRegistry in org.jdbi.v3.sqlobject.locator
Methods in org.jdbi.v3.sqlobject.locator with parameters of type ConfigRegistryModifier and TypeMethodDescriptionAnnotationSqlLocator.locate
(Class<?> sqlObjectType, Method method, ConfigRegistry config) SqlLocator.locate
(Class<?> sqlObjectType, Method method, ConfigRegistry config) Locates and returns the SQL for the given SQL Object type and method.SqlObjectClasspathSqlLocator.locate
(Class<?> sqlObjectType, Method method, ConfigRegistry config) -
Uses of ConfigRegistry in org.jdbi.v3.vavr
Methods in org.jdbi.v3.vavr with parameters of type ConfigRegistry