Uses of Annotation Type
org.jdbi.v3.meta.Alpha
Package
Description
The 'core' package hosts the top level interface into jdbi core.
The
array
package binds Java arrays and collections to SQL arrays, and
handles mapping array result types back to Java arrays and collections.
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.mapper.reflect
provides RowMappers that reflectively
construct result types using techniques like constructor injection
or JavaBeans setters.result
provides the streaming interface that reads rows from JDBC
and drives the mapper
and collector
processes to
produce results.Jdbi test support for Testcontainer based JDBC containers.
-
Uses of Alpha in org.jdbi.v3.core
Modifier and TypeInterfaceDescriptioninterface
Decorates theHandleCallback
instance forJdbi.useHandle(HandleConsumer)
,Jdbi.withHandle(HandleCallback)
,Jdbi.inTransaction(HandleCallback)
andJdbi.useTransaction(HandleConsumer)
.Modifier and TypeMethodDescriptionJdbi.getHandleCallbackDecorator()
Returns theHandleCallbackDecorator
.Jdbi.setHandleCallbackDecorator
(HandleCallbackDecorator handleCallbackDecorator) Specify theHandleCallbackDecorator
instance to use.final void
Jdbi.setHandleScope
(HandleScope handleScope) Set theHandleScope
object. -
Uses of Alpha in org.jdbi.v3.core.array
Modifier and TypeMethodDescriptionSqlArrayTypes.getInferenceInterceptors()
Returns theJdbiInterceptionChainHolder
for the SqlArrayType inference. -
Uses of Alpha in org.jdbi.v3.core.extension
Modifier and TypeInterfaceDescriptioninterface
Factory interface to create collections ofConfigCustomizer
instances.interface
ConfiguresConfigRegistry
instances.static enum
Flags that the factory can return to control aspects of the extension framework.interface
Provides functionality for a single method on an extension object.interface
Supports customization of an extension handler.interface
A factory to createExtensionHandler
instances.final class
Metadata that was detected when analyzing an extension class before attaching.class
Configurer base class that applies the same configuration changes independent whether an annotation is placed on the type or a method.Modifier and TypeMethodDescriptiondefault void
ExtensionFactory.buildExtensionMetadata
(ExtensionMetadata.Builder builder) Receives theExtensionMetadata.Builder
when theExtensionMetadata
object for this extension is created.Extensions.failFast()
Fail fast if any method in an Extension object is misconfigured and can not be warmed.Extensions.findMetadata
(Class<?> extensionType, ExtensionFactory extensionFactory) Retrieves all extension metadata for a specific extension type.default Collection
<ConfigCustomizerFactory> ExtensionFactory.getConfigCustomizerFactories
(ConfigRegistry config) Returns a collection ofConfigCustomizerFactory
objects.default Collection
<ExtensionHandlerCustomizer> ExtensionFactory.getExtensionHandlerCustomizers
(ConfigRegistry config) Returns a collection ofExtensionHandlerCustomizer
objects.default Collection
<ExtensionHandlerFactory> ExtensionFactory.getExtensionHandlerFactories
(ConfigRegistry config) Returns a collection ofExtensionHandlerFactory
objects.default Set
<ExtensionFactory.FactoryFlag> ExtensionFactory.getFactoryFlags()
Returns a set ofExtensionFactory.FactoryFlag
s that describe the extension factory.boolean
Extensions.isFailFast()
Returns true if misconfigured extension objects fail fast.Extensions.registerConfigCustomizerFactory
(ConfigCustomizerFactory configCustomizerFactory) Registers a globalConfigCustomizerFactory
instance.Extensions.registerHandlerCustomizer
(ExtensionHandlerCustomizer extensionHandlerCustomizer) Registers a globalExtensionHandlerCustomizer
instance.Extensions.registerHandlerFactory
(ExtensionHandlerFactory extensionHandlerFactory) Registers a globalExtensionHandlerFactory
instance. -
Uses of Alpha in org.jdbi.v3.core.extension.annotation
Modifier and TypeClassDescription@interface
Determines the order in which extension method decorators are invoked.@interface
Meta-Annotation used to identify annotations that modify configuration in the context of an extension object or method.@interface
Meta-Annotation used to map a method to an extension handler.@interface
Meta-Annotation used to identify extension method decorating annotations. -
Uses of Alpha in org.jdbi.v3.core.interceptor
Modifier and TypeInterfaceDescriptioninterface
An instance of an interception chain.final class
An interception chain holder to manage transformation operations.interface
JdbiInterceptor<S,
T> Generic interface to allow transformation operation interception. -
Uses of Alpha in org.jdbi.v3.core.mapper
Modifier and TypeMethodDescriptionColumnMappers.getInferenceInterceptors()
Returns theJdbiInterceptionChainHolder
for the ColumnMapper inference.RowMappers.getInferenceInterceptors()
Returns theJdbiInterceptionChainHolder
for the RowMapper inference. -
Uses of Alpha in org.jdbi.v3.core.mapper.reflect
Modifier and TypeMethodDescriptionReflectionMappers.disableAccessibleObjectStrategy()
Set the strategy Jdbi uses for Java accessibility rules to a no-op.<T extends AccessibleObject>
TReflectionMappers.makeAccessible
(T accessibleObject) Use the accessibility strategy to potentially make a reflective operation accessible.ReflectionMappers.setAccessibleObjectStrategy
(Consumer<AccessibleObject> makeAccessible) Set the strategy Jdbi uses for Java accessibility rules. -
Uses of Alpha in org.jdbi.v3.core.result
Modifier and TypeMethodDescriptiondefault <R extends Collection<? super T>>
RResultIterable.collectInto
(Type containerType) Collect the results into a container type.default <R extends Collection<? super T>>
RResultIterable.collectInto
(GenericType<R> containerType) Collect the results into a collection type.ResultIterable.collectIntoList()
Returns results in aList
.ResultIterable.collectIntoSet()
Returns results in aSet
.default <C extends Collection<T>>
CResultIterable.toCollection
(Supplier<C> supplier) Collect the results into a collection object similar toCollectors.toCollection(Supplier)
. -
Uses of Alpha in org.jdbi.v3.testing.junit5.tc
Modifier and TypeMethodDescriptionint
TestcontainersDatabaseInformation.getShutdownWaitTimeInSeconds()
Returns the time in seconds that a test will wait to shut down the Jdbi extension.JdbiTestcontainersExtension.setShutdownWaitTimeInSeconds
(int seconds) Sets the maximum wait time for shutting down the extension.void
TestcontainersDatabaseInformation.setShutdownWaitTimeInSeconds
(int shutdownWaitTimeInSeconds) Sets the wait time in seconds that a test will wait to shut down the Jdbi extension.