Class MapMappers

java.lang.Object
org.jdbi.v3.core.mapper.MapMappers
All Implemented Interfaces:
JdbiConfig<MapMappers>

@Beta public class MapMappers extends Object implements JdbiConfig<MapMappers>
  • Constructor Details

    • MapMappers

      public MapMappers()
  • Method Details

    • getCaseChange

      @Beta public UnaryOperator<String> getCaseChange()
      Case change strategy for the database column names. By default, the row names are lowercased using the system locale.
      Returns:
      The current case change strategy.
      See Also:
    • setCaseChange

      @Beta public MapMappers setCaseChange(UnaryOperator<String> caseChange)
      Sets the case change strategy for the database column names. By default, the row names are lowercased using the system locale.
      Parameters:
      caseChange - The strategy to use. Must not be null.
      See Also:
    • createCopy

      public MapMappers createCopy()
      Description copied from interface: JdbiConfig
      Returns a copy of this configuration object. Changes to the copy should not modify the original, and vice-versa.
      Specified by:
      createCopy in interface JdbiConfig<MapMappers>
      Returns:
      a copy of this configuration object.