org.apache.ibatis.mapping
Class MappedStatement.Builder

java.lang.Object
  extended by org.apache.ibatis.mapping.MappedStatement.Builder
Enclosing class:
MappedStatement

public static class MappedStatement.Builder
extends Object


Constructor Summary
MappedStatement.Builder(Configuration configuration, String id, SqlSource sqlSource, SqlCommandType sqlCommandType)
           
 
Method Summary
 MappedStatement build()
           
 MappedStatement.Builder cache(Cache cache)
           
 MappedStatement.Builder databaseId(String databaseId)
           
 MappedStatement.Builder fetchSize(Integer fetchSize)
           
 MappedStatement.Builder flushCacheRequired(boolean flushCacheRequired)
           
 String id()
           
 MappedStatement.Builder keyColumn(String keyColumn)
           
 MappedStatement.Builder keyGenerator(KeyGenerator keyGenerator)
           
 MappedStatement.Builder keyProperty(String keyProperty)
           
 MappedStatement.Builder parameterMap(ParameterMap parameterMap)
           
 MappedStatement.Builder resource(String resource)
           
 MappedStatement.Builder resultMaps(List<ResultMap> resultMaps)
           
 MappedStatement.Builder resultSetType(ResultSetType resultSetType)
           
 MappedStatement.Builder statementType(StatementType statementType)
           
 MappedStatement.Builder timeout(Integer timeout)
           
 MappedStatement.Builder useCache(boolean useCache)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappedStatement.Builder

public MappedStatement.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)

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)

build

public MappedStatement build()


Copyright © 2010-2012 MyBatis.org. All Rights Reserved.