Uses of Annotation Type
org.jdbi.v3.meta.Alpha
Packages that use 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.mappers 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.
The
statement package provides most of the Fluent API
to drive statement execution.Jdbi test support for Testcontainer based JDBC containers.
-
Uses of Alpha in org.jdbi.v3.core
Classes in org.jdbi.v3.core with annotations of type AlphaModifier and TypeInterfaceDescriptioninterfaceDecorates theHandleCallbackinstance forJdbi.useHandle(HandleConsumer),Jdbi.withHandle(HandleCallback),Jdbi.inTransaction(HandleCallback)andJdbi.useTransaction(HandleConsumer).Methods in org.jdbi.v3.core with annotations of type AlphaModifier and TypeMethodDescriptionJdbi.getHandleCallbackDecorator()Returns theHandleCallbackDecorator.Jdbi.setHandleCallbackDecorator(HandleCallbackDecorator handleCallbackDecorator) Specify theHandleCallbackDecoratorinstance to use.final voidJdbi.setHandleScope(HandleScope handleScope) Set theHandleScopeobject. -
Uses of Alpha in org.jdbi.v3.core.array
Methods in org.jdbi.v3.core.array with annotations of type AlphaModifier and TypeMethodDescriptionSqlArrayTypes.getInferenceInterceptors()Returns theJdbiInterceptionChainHolderfor the SqlArrayType inference. -
Uses of Alpha in org.jdbi.v3.core.extension
Classes in org.jdbi.v3.core.extension with annotations of type AlphaModifier and TypeInterfaceDescriptioninterfaceFactory interface to create collections ofConfigCustomizerinstances.interfaceConfiguresConfigRegistryinstances.static enumFlags that the factory can return to control aspects of the extension framework.interfaceProvides functionality for a single method on an extension object.interfaceSupports customization of an extension handler.interfaceA factory to createExtensionHandlerinstances.final classMetadata that was detected when analyzing an extension class before attaching.classConfigurer base class that applies the same configuration changes independent whether an annotation is placed on the type or a method.Methods in org.jdbi.v3.core.extension with annotations of type AlphaModifier and TypeMethodDescriptiondefault voidExtensionFactory.buildExtensionMetadata(ExtensionMetadata.Builder builder) Receives theExtensionMetadata.Builderwhen theExtensionMetadataobject 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 ofConfigCustomizerFactoryobjects.default Collection<ExtensionHandlerCustomizer> ExtensionFactory.getExtensionHandlerCustomizers(ConfigRegistry config) Returns a collection ofExtensionHandlerCustomizerobjects.default Collection<ExtensionHandlerFactory> ExtensionFactory.getExtensionHandlerFactories(ConfigRegistry config) Returns a collection ofExtensionHandlerFactoryobjects.default Set<ExtensionFactory.FactoryFlag> ExtensionFactory.getFactoryFlags()Returns a set ofExtensionFactory.FactoryFlags that describe the extension factory.booleanExtensions.isFailFast()Returns true if misconfigured extension objects fail fast.Extensions.registerConfigCustomizerFactory(ConfigCustomizerFactory configCustomizerFactory) Registers a globalConfigCustomizerFactoryinstance.Extensions.registerHandlerCustomizer(ExtensionHandlerCustomizer extensionHandlerCustomizer) Registers a globalExtensionHandlerCustomizerinstance.Extensions.registerHandlerFactory(ExtensionHandlerFactory extensionHandlerFactory) Registers a globalExtensionHandlerFactoryinstance. -
Uses of Alpha in org.jdbi.v3.core.extension.annotation
Classes in org.jdbi.v3.core.extension.annotation with annotations of type AlphaModifier and TypeClassDescription@interfaceDetermines the order in which extension method decorators are invoked.@interfaceMeta-Annotation used to identify annotations that modify configuration in the context of an extension object or method.@interfaceMeta-Annotation used to map a method to an extension handler.@interfaceMeta-Annotation used to identify extension method decorating annotations. -
Uses of Alpha in org.jdbi.v3.core.interceptor
Classes in org.jdbi.v3.core.interceptor with annotations of type AlphaModifier and TypeInterfaceDescriptioninterfaceAn instance of an interception chain.final classAn interception chain holder to manage transformation operations.interfaceJdbiInterceptor<S,T> Generic interface to allow transformation operation interception. -
Uses of Alpha in org.jdbi.v3.core.mapper
Methods in org.jdbi.v3.core.mapper with annotations of type AlphaModifier and TypeMethodDescriptionColumnMappers.getInferenceInterceptors()Returns theJdbiInterceptionChainHolderfor the ColumnMapper inference.RowMappers.getInferenceInterceptors()Returns theJdbiInterceptionChainHolderfor the RowMapper inference. -
Uses of Alpha in org.jdbi.v3.core.mapper.reflect
Classes in org.jdbi.v3.core.mapper.reflect with annotations of type AlphaMethods in org.jdbi.v3.core.mapper.reflect with annotations of type AlphaModifier 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
Methods in org.jdbi.v3.core.result with annotations of type AlphaModifier 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.core.statement
Methods in org.jdbi.v3.core.statement with annotations of type AlphaModifier and TypeMethodDescriptionlongStatementContext.getMappedRows()Retrieve the number of mapped rows.StatementContext.getTraceId()Instrument the telemetry trace id.voidStatementContext.setMappedRows(long mappedRows) Instrument the number of mapped rows.voidStatementContext.setTraceId(String traceId) Instrument the telemetry trace id. -
Uses of Alpha in org.jdbi.v3.testing.junit5.tc
Methods in org.jdbi.v3.testing.junit5.tc with annotations of type AlphaModifier and TypeMethodDescriptionintTestcontainersDatabaseInformation.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.voidTestcontainersDatabaseInformation.setShutdownWaitTimeInSeconds(int shutdownWaitTimeInSeconds) Sets the wait time in seconds that a test will wait to shut down the Jdbi extension.