public abstract class BaseBuilder extends Object
Modifier and Type | Field and Description |
---|---|
protected Configuration |
configuration |
protected TypeAliasRegistry |
typeAliasRegistry |
protected TypeHandlerRegistry |
typeHandlerRegistry |
Constructor and Description |
---|
BaseBuilder(Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
protected Boolean |
booleanValueOf(String value,
Boolean defaultValue) |
protected Object |
createInstance(String alias) |
Configuration |
getConfiguration() |
protected Integer |
integerValueOf(String value,
Integer defaultValue) |
protected Pattern |
parseExpression(String regex,
String defaultValue) |
protected Class<?> |
resolveAlias(String alias) |
protected Class<?> |
resolveClass(String alias) |
protected JdbcType |
resolveJdbcType(String alias) |
protected ParameterMode |
resolveParameterMode(String alias) |
protected ResultSetType |
resolveResultSetType(String alias) |
protected TypeHandler<?> |
resolveTypeHandler(Class<?> javaType,
Class<? extends TypeHandler<?>> typeHandlerType) |
protected TypeHandler<?> |
resolveTypeHandler(Class<?> javaType,
String typeHandlerAlias) |
protected Set<String> |
stringSetValueOf(String value,
String defaultValue) |
protected final Configuration configuration
protected final TypeAliasRegistry typeAliasRegistry
protected final TypeHandlerRegistry typeHandlerRegistry
public BaseBuilder(Configuration configuration)
public Configuration getConfiguration()
protected ResultSetType resolveResultSetType(String alias)
protected ParameterMode resolveParameterMode(String alias)
protected TypeHandler<?> resolveTypeHandler(Class<?> javaType, String typeHandlerAlias)
protected TypeHandler<?> resolveTypeHandler(Class<?> javaType, Class<? extends TypeHandler<?>> typeHandlerType)
Copyright © 2010–2015 MyBatis.org. All rights reserved.