public static class ResultMapping.Builder extends Object
Constructor and Description |
---|
ResultMapping.Builder(Configuration configuration,
String property) |
ResultMapping.Builder(Configuration configuration,
String property,
String column,
Class<?> javaType) |
ResultMapping.Builder(Configuration configuration,
String property,
String column,
TypeHandler<?> typeHandler) |
Modifier and Type | Method and Description |
---|---|
ResultMapping |
build() |
ResultMapping.Builder |
column(String column) |
ResultMapping.Builder |
columnPrefix(String columnPrefix) |
ResultMapping.Builder |
composites(List<ResultMapping> composites) |
ResultMapping.Builder |
flags(List<ResultFlag> flags) |
ResultMapping.Builder |
foreignColumn(String foreignColumn) |
ResultMapping.Builder |
javaType(Class<?> javaType) |
ResultMapping.Builder |
jdbcType(JdbcType jdbcType) |
ResultMapping.Builder |
lazy(boolean lazy) |
ResultMapping.Builder |
nestedQueryId(String nestedQueryId) |
ResultMapping.Builder |
nestedResultMapId(String nestedResultMapId) |
ResultMapping.Builder |
notNullColumns(Set<String> notNullColumns) |
ResultMapping.Builder |
resultSet(String resultSet) |
ResultMapping.Builder |
typeHandler(TypeHandler<?> typeHandler) |
public ResultMapping.Builder(Configuration configuration, String property, String column, TypeHandler<?> typeHandler)
public ResultMapping.Builder(Configuration configuration, String property, String column, Class<?> javaType)
public ResultMapping.Builder(Configuration configuration, String property)
public ResultMapping.Builder javaType(Class<?> javaType)
public ResultMapping.Builder jdbcType(JdbcType jdbcType)
public ResultMapping.Builder nestedResultMapId(String nestedResultMapId)
public ResultMapping.Builder nestedQueryId(String nestedQueryId)
public ResultMapping.Builder resultSet(String resultSet)
public ResultMapping.Builder foreignColumn(String foreignColumn)
public ResultMapping.Builder notNullColumns(Set<String> notNullColumns)
public ResultMapping.Builder columnPrefix(String columnPrefix)
public ResultMapping.Builder flags(List<ResultFlag> flags)
public ResultMapping.Builder typeHandler(TypeHandler<?> typeHandler)
public ResultMapping.Builder composites(List<ResultMapping> composites)
public ResultMapping.Builder lazy(boolean lazy)
public ResultMapping build()
public ResultMapping.Builder column(String column)
Copyright © 2010–2015 MyBatis.org. All rights reserved.