Class VavrPlugin
java.lang.Object
org.jdbi.v3.core.spi.JdbiPlugin.Singleton
org.jdbi.v3.vavr.VavrPlugin
- All Implemented Interfaces:
JdbiPlugin
JDBI-Plugin for vavr.io library
- supports single-value arguments (
Option, ...) - supports vavr collections via
ResultBearing.collectInto(java.lang.reflect.Type)call - supports key-value mappings of a tuple result (implicitly used by map collectors)
- supports tuple projection
- supports column mapping for
Option
-
Nested Class Summary
Nested classes/interfaces inherited from interface JdbiPlugin
JdbiPlugin.Singleton -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcustomizeJdbi(Jdbi jdbi) Configure customizations global to any object managed by this Jdbi.Methods inherited from class JdbiPlugin.Singleton
equals, hashCodeMethods inherited from interface JdbiPlugin
customizeConnection, customizeHandle
-
Constructor Details
-
VavrPlugin
public VavrPlugin()
-
-
Method Details
-
customizeJdbi
Description copied from interface:JdbiPluginConfigure customizations global to any object managed by this Jdbi. This method is invoked immediately when the plugin is installed.- Parameters:
jdbi- the jdbi to customize
-