Package 

Class KotlinPlugin

  • All Implemented Interfaces:
    org.jdbi.v3.core.spi.JdbiPlugin

    
    public final class KotlinPlugin
    extends JdbiPlugin.Singleton
                        

    Installs Kotlin specific functionality.

    <ul> <li>Kotlin inference interceptor that handles the {@link KotlinMapper} for registered types</li> <li>Kotlin mapper factory that creates implicit mappers for any data class</li> <ul>
        @property installKotlinMapperFactory If true, install the {@link KotlinMapperFactory}.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      KotlinPlugin(Boolean installKotlinMapperFactory)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Unit customizeJdbi(Jdbi jdbi)
      • Methods inherited from class org.jdbi.v3.core.spi.JdbiPlugin.Singleton

        equals, hashCode
      • Methods inherited from class org.jdbi.v3.core.spi.JdbiPlugin

        customizeConnection, customizeHandle
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • KotlinPlugin

        KotlinPlugin(Boolean installKotlinMapperFactory)