Class MapMappers

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.function.UnaryOperator<java.lang.String> caseChange  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      MapMappers createCopy()
      Returns a copy of this configuration object.
      java.util.function.UnaryOperator<java.lang.String> getCaseChange()
      Case change strategy for the database column names.
      MapMappers setCaseChange​(java.util.function.UnaryOperator<java.lang.String> caseChange)
      Sets the case change strategy for the database column names.
      • Methods inherited from class java.lang.Object

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

      • caseChange

        private java.util.function.UnaryOperator<java.lang.String> caseChange
    • Constructor Detail

      • MapMappers

        public MapMappers()
      • MapMappers

        private MapMappers​(MapMappers that)
    • Method Detail

      • getCaseChange

        public java.util.function.UnaryOperator<java.lang.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:
        CaseStrategy
      • setCaseChange

        public MapMappers setCaseChange​(java.util.function.UnaryOperator<java.lang.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:
        CaseStrategy
      • 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.