Class MapMappers
java.lang.Object
org.jdbi.v3.core.mapper.MapMappers
- All Implemented Interfaces:
JdbiConfig<MapMappers>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a copy of this configuration object.Case change strategy for the database column names.setCaseChange(UnaryOperator<String> caseChange) Sets the case change strategy for the database column names.Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface JdbiConfig
setRegistryModifier and TypeMethodDescriptiondefault voidsetRegistry(ConfigRegistry registry) The registry will inject itself into the configuration object.
-
Constructor Details
-
MapMappers
public MapMappers()
-
-
Method Details
-
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
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
Description copied from interface:JdbiConfigReturns a copy of this configuration object. Changes to the copy should not modify the original, and vice-versa.- Specified by:
createCopyin interfaceJdbiConfig<MapMappers>- Returns:
- a copy of this configuration object.
-