Package org.apache.ibatis.mapping
Class MappedStatement.Builder
- java.lang.Object
-
- org.apache.ibatis.mapping.MappedStatement.Builder
-
- Enclosing class:
- MappedStatement
public static class MappedStatement.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder(Configuration configuration, String id, SqlSource sqlSource, SqlCommandType sqlCommandType)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder(Configuration configuration, String id, SqlSource sqlSource, SqlCommandType sqlCommandType)
-
-
Method Detail
-
resource
public MappedStatement.Builder resource(String resource)
-
id
public String id()
-
parameterMap
public MappedStatement.Builder parameterMap(ParameterMap parameterMap)
-
resultMaps
public MappedStatement.Builder resultMaps(List<ResultMap> resultMaps)
-
fetchSize
public MappedStatement.Builder fetchSize(Integer fetchSize)
-
timeout
public MappedStatement.Builder timeout(Integer timeout)
-
statementType
public MappedStatement.Builder statementType(StatementType statementType)
-
resultSetType
public MappedStatement.Builder resultSetType(ResultSetType resultSetType)
-
cache
public MappedStatement.Builder cache(Cache cache)
-
flushCacheRequired
public MappedStatement.Builder flushCacheRequired(boolean flushCacheRequired)
-
useCache
public MappedStatement.Builder useCache(boolean useCache)
-
resultOrdered
public MappedStatement.Builder resultOrdered(boolean resultOrdered)
-
keyGenerator
public MappedStatement.Builder keyGenerator(KeyGenerator keyGenerator)
-
keyProperty
public MappedStatement.Builder keyProperty(String keyProperty)
-
keyColumn
public MappedStatement.Builder keyColumn(String keyColumn)
-
databaseId
public MappedStatement.Builder databaseId(String databaseId)
-
lang
public MappedStatement.Builder lang(LanguageDriver driver)
-
resultSets
public MappedStatement.Builder resultSets(String resultSet)
-
resulSets
@Deprecated public MappedStatement.Builder resulSets(String resultSet)
Deprecated.Resul sets.- Parameters:
resultSet
- the result set- Returns:
- the builder
-
build
public MappedStatement build()
-
-