Uses of Class
org.jdbi.v3.core.config.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.Utility classes used internally by Jdbi.
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.commonstext.internal
Modifier and TypeMethodDescriptionvoid
UseStringSubstitutorTemplateEngineImpl.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) void
UseStringSubstitutorTemplateEngineImpl.configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) -
Uses of ConfigRegistry in org.jdbi.v3.core
-
Uses of ConfigRegistry in org.jdbi.v3.core.argument
Modifier 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) ModifierConstructorDescriptionArguments
(ConfigRegistry registry) BeanPropertyArguments
(String prefix, Object bean, ConfigRegistry config) Deprecated. -
Uses of ConfigRegistry in org.jdbi.v3.core.argument.internal
Modifier and TypeMethodDescriptionNamedArgumentFinderFactory.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) ModifierConstructorDescriptionPojoPropertyArguments
(String prefix, Object obj, Type type, ConfigRegistry config) -
Uses of ConfigRegistry in org.jdbi.v3.core.array
Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionConfigRegistry.createCopy()
Returns a copy of this config registry.Configurable.getConfig()
Returns the configuration registry associated with this object.Modifier and TypeMethodDescriptionJdbiCache.get
(K key, ConfigRegistry config) default void
JdbiConfig.setRegistry
(ConfigRegistry registry) The registry will inject itself into the configuration object.Modifier 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.enums.internal
Modifier and TypeMethodDescriptionOptional<ColumnMapper<?>>
EnumMapperFactory.build
(QualifiedType<?> givenType, ConfigRegistry config) Optional<SqlArrayType<?>>
EnumSqlArrayTypeFactory.build
(Type elementType, ConfigRegistry config) -
Uses of ConfigRegistry in org.jdbi.v3.core.extension
Modifier 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.internal
-
Uses of ConfigRegistry in org.jdbi.v3.core.mapper
Modifier 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
-
Uses of ConfigRegistry in org.jdbi.v3.core.mapper.immutables
-
Uses of ConfigRegistry in org.jdbi.v3.core.mapper.reflect.internal
Modifier and TypeMethodDescriptionPojoMapperFactory.build
(Type type, ConfigRegistry config) PojoPropertiesFactory.create
(Type type, ConfigRegistry config) static PojoProperties<?>
BeanPropertiesFactory.propertiesFor
(Type t, ConfigRegistry config) void
PojoTypes.setRegistry
(ConfigRegistry registry) -
Uses of ConfigRegistry in org.jdbi.v3.core.qualifier
-
Uses of ConfigRegistry in org.jdbi.v3.core.statement
Modifier 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
Modifier and TypeMethodDescriptionFreemarkerEngine.parse
(String sqlTemplate, ConfigRegistry config) -
Uses of ConfigRegistry in org.jdbi.v3.freemarker.internal
Modifier and TypeMethodDescriptionvoid
UseFreemarkerEngineImpl.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) void
UseFreemarkerSqlLocatorImpl.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) void
UseFreemarkerEngineImpl.configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) void
UseFreemarkerSqlLocatorImpl.configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) -
Uses of ConfigRegistry in org.jdbi.v3.jpa
-
Uses of ConfigRegistry in org.jdbi.v3.json
Modifier and TypeMethodDescriptionJsonMapper.fromJson
(Type type, String json, ConfigRegistry config) JsonMapper.toJson
(Type type, Object value, ConfigRegistry config) -
Uses of ConfigRegistry in org.jdbi.v3.json.internal
Modifier and TypeMethodDescriptionJsonArgumentFactory.build
(Type type, Object value, ConfigRegistry config) Optional<ColumnMapper<?>>
JsonColumnMapperFactory.build
(Type type, ConfigRegistry config) UnimplementedJsonMapper.fromJson
(Type type, String json, ConfigRegistry config) UnimplementedJsonMapper.toJson
(Type type, Object value, ConfigRegistry config) -
Uses of ConfigRegistry in org.jdbi.v3.postgres
Modifier 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.postgres.internal
Modifier and TypeMethodDescriptionOptional<ColumnMapper<?>>
BitStringEnumSetMapperFactory.build
(Type type, ConfigRegistry config) BitStringEnumSetArgumentFactory.prepare
(Type type, ConfigRegistry config) -
Uses of ConfigRegistry in org.jdbi.v3.sqlobject
Modifier 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
Modifier 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.config.internal
Modifier and TypeMethodDescriptionvoid
KeyColumnImpl.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) void
RegisterArgumentFactoriesImpl.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) void
RegisterArgumentFactoryImpl.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) void
RegisterBeanMapperImpl.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) void
RegisterBeanMappersImpl.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) void
RegisterCollectorFactoryImpl.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) void
RegisterColumnMapperFactoriesImpl.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) void
RegisterColumnMapperFactoryImpl.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) void
RegisterColumnMapperImpl.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) void
RegisterColumnMappersImpl.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) void
RegisterConstructorMapperImpl.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) void
RegisterConstructorMappersImpl.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) void
RegisterFieldMapperImpl.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) void
RegisterFieldMappersImpl.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) void
RegisterJoinRowMapperImpl.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) void
RegisterObjectArgumentFactoriesImpl.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) void
RegisterObjectArgumentFactoryImpl.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) void
RegisterRowMapperFactoriesImpl.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) void
RegisterRowMapperFactoryImpl.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) void
RegisterRowMapperImpl.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) void
RegisterRowMappersImpl.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) void
UseEnumStrategyImpl.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) void
UseSqlParserImpl.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) void
UseTemplateEngineImpl.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) void
ValueColumnImpl.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) void
RegisterArgumentFactoriesImpl.configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) void
RegisterArgumentFactoryImpl.configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) void
RegisterBeanMapperImpl.configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) void
RegisterBeanMappersImpl.configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) void
RegisterCollectorFactoryImpl.configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) void
RegisterColumnMapperFactoriesImpl.configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) void
RegisterColumnMapperFactoryImpl.configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) void
RegisterColumnMapperImpl.configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) void
RegisterColumnMappersImpl.configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) void
RegisterConstructorMapperImpl.configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) void
RegisterConstructorMappersImpl.configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) void
RegisterFieldMapperImpl.configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) void
RegisterFieldMappersImpl.configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) void
RegisterJoinRowMapperImpl.configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) void
RegisterObjectArgumentFactoriesImpl.configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) void
RegisterObjectArgumentFactoryImpl.configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) void
RegisterRowMapperFactoriesImpl.configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) void
RegisterRowMapperFactoryImpl.configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) void
RegisterRowMapperImpl.configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) void
RegisterRowMappersImpl.configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) void
UseEnumStrategyImpl.configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) void
UseSqlParserImpl.configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) void
UseTemplateEngineImpl.configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) -
Uses of ConfigRegistry in org.jdbi.v3.sqlobject.customizer
Modifier 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.internal
Modifier and TypeMethodDescriptionSqlObjectInitData.configureInstance
(ConfigRegistry config) <E> E
SqlObjectInitData.instantiate
(Class<E> passExtensionType, HandleSupplier handle, ConfigRegistry instanceConfig) SqlObjectInitData.lazyInvoker
(Object target, Method method, HandleSupplier handle, ConfigRegistry instanceConfig) ModifierConstructorDescriptionSqlObjectInitData
(Class<?> extensionType, UnaryOperator<ConfigRegistry> instanceConfigurer, Map<Method, UnaryOperator<ConfigRegistry>> methodConfigurers, Map<Method, Handler> methodHandlers) SqlObjectInitData
(Class<?> extensionType, UnaryOperator<ConfigRegistry> instanceConfigurer, Map<Method, UnaryOperator<ConfigRegistry>> methodConfigurers, Map<Method, Handler> methodHandlers) -
Uses of ConfigRegistry in org.jdbi.v3.sqlobject.locator
Modifier 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.sqlobject.locator.internal
Modifier and TypeMethodDescriptionvoid
UseAnnotationSqlLocatorImpl.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) void
UseClasspathSqlLocatorImpl.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) void
UseAnnotationSqlLocatorImpl.configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) void
UseClasspathSqlLocatorImpl.configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) -
Uses of ConfigRegistry in org.jdbi.v3.sqlobject.statement.internal
Modifier and TypeMethodDescriptionvoid
SqlBatchHandler.warm
(ConfigRegistry config) void
SqlQueryHandler.warm
(ConfigRegistry config) void
SqlUpdateHandler.warm
(ConfigRegistry config) -
Uses of ConfigRegistry in org.jdbi.v3.stringtemplate4.internal
Modifier and TypeMethodDescriptionvoid
UseStringTemplateEngineImpl.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) void
UseStringTemplateSqlLocatorImpl.configureForMethod
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) void
UseStringTemplateEngineImpl.configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) void
UseStringTemplateSqlLocatorImpl.configureForType
(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) -
Uses of ConfigRegistry in org.jdbi.v3.vavr