Package org.sql2o
Class DefaultResultSetHandlerFactoryBuilder
java.lang.Object
org.sql2o.DefaultResultSetHandlerFactoryBuilder
- All Implemented Interfaces:
ResultSetHandlerFactoryBuilder
public class DefaultResultSetHandlerFactoryBuilder
extends Object
implements ResultSetHandlerFactoryBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
<T> ResultSetHandlerFactory
<T> newFactory
(Class<T> clazz) void
setAutoDeriveColumnNames
(boolean autoDeriveColumnNames) void
setCaseSensitive
(boolean caseSensitive) void
setColumnMappings
(Map<String, String> columnMappings) void
void
throwOnMappingError
(boolean throwOnMappingError)
-
Constructor Details
-
DefaultResultSetHandlerFactoryBuilder
public DefaultResultSetHandlerFactoryBuilder()
-
-
Method Details
-
isCaseSensitive
public boolean isCaseSensitive()- Specified by:
isCaseSensitive
in interfaceResultSetHandlerFactoryBuilder
-
setCaseSensitive
public void setCaseSensitive(boolean caseSensitive) - Specified by:
setCaseSensitive
in interfaceResultSetHandlerFactoryBuilder
-
isAutoDeriveColumnNames
public boolean isAutoDeriveColumnNames()- Specified by:
isAutoDeriveColumnNames
in interfaceResultSetHandlerFactoryBuilder
-
setAutoDeriveColumnNames
public void setAutoDeriveColumnNames(boolean autoDeriveColumnNames) - Specified by:
setAutoDeriveColumnNames
in interfaceResultSetHandlerFactoryBuilder
-
isThrowOnMappingError
public boolean isThrowOnMappingError()- Specified by:
isThrowOnMappingError
in interfaceResultSetHandlerFactoryBuilder
-
throwOnMappingError
public void throwOnMappingError(boolean throwOnMappingError) - Specified by:
throwOnMappingError
in interfaceResultSetHandlerFactoryBuilder
-
getColumnMappings
- Specified by:
getColumnMappings
in interfaceResultSetHandlerFactoryBuilder
-
setColumnMappings
- Specified by:
setColumnMappings
in interfaceResultSetHandlerFactoryBuilder
-
getQuirks
- Specified by:
getQuirks
in interfaceResultSetHandlerFactoryBuilder
-
setQuirks
- Specified by:
setQuirks
in interfaceResultSetHandlerFactoryBuilder
-
newFactory
- Specified by:
newFactory
in interfaceResultSetHandlerFactoryBuilder
-