Package | Description |
---|---|
org.apache.ibatis.builder |
Base package for the Configuration building code.
|
org.apache.ibatis.executor |
Contains the statement executors.
|
org.apache.ibatis.executor.keygen |
Contains the key generators.
|
org.apache.ibatis.executor.loader |
Base package for loading results into beans.
|
org.apache.ibatis.executor.resultset |
Contains the result processing logic.
|
org.apache.ibatis.executor.statement |
Statement handlers.
|
org.apache.ibatis.mapping |
Base package for mapping.
|
org.apache.ibatis.scripting |
Base package for languages.
|
org.apache.ibatis.scripting.defaults |
Default beans for languages.
|
org.apache.ibatis.scripting.xmltags |
Default XML MyBatis language.
|
org.apache.ibatis.session |
Base package.
|
Modifier and Type | Method and Description |
---|---|
MappedStatement |
MapperBuilderAssistant.addMappedStatement(String id,
SqlSource sqlSource,
StatementType statementType,
SqlCommandType sqlCommandType,
Integer fetchSize,
Integer timeout,
String parameterMap,
Class<?> parameterType,
String resultMap,
Class<?> resultType,
ResultSetType resultSetType,
boolean flushCache,
boolean useCache,
boolean resultOrdered,
KeyGenerator keyGenerator,
String keyProperty,
String keyColumn,
String databaseId,
LanguageDriver lang)
Backward compatibility signature 'addMappedStatement'.
|
MappedStatement |
MapperBuilderAssistant.addMappedStatement(String id,
SqlSource sqlSource,
StatementType statementType,
SqlCommandType sqlCommandType,
Integer fetchSize,
Integer timeout,
String parameterMap,
Class<?> parameterType,
String resultMap,
Class<?> resultType,
ResultSetType resultSetType,
boolean flushCache,
boolean useCache,
boolean resultOrdered,
KeyGenerator keyGenerator,
String keyProperty,
String keyColumn,
String databaseId,
LanguageDriver lang,
String resultSets) |
Modifier and Type | Method and Description |
---|---|
MappedStatement |
BatchResult.getMappedStatement() |
Modifier and Type | Method and Description |
---|---|
CacheKey |
Executor.createCacheKey(MappedStatement ms,
Object parameterObject,
RowBounds rowBounds,
BoundSql boundSql) |
CacheKey |
CachingExecutor.createCacheKey(MappedStatement ms,
Object parameterObject,
RowBounds rowBounds,
BoundSql boundSql) |
CacheKey |
BaseExecutor.createCacheKey(MappedStatement ms,
Object parameterObject,
RowBounds rowBounds,
BoundSql boundSql) |
void |
Executor.deferLoad(MappedStatement ms,
MetaObject resultObject,
String property,
CacheKey key,
Class<?> targetType) |
void |
CachingExecutor.deferLoad(MappedStatement ms,
MetaObject resultObject,
String property,
CacheKey key,
Class<?> targetType) |
void |
BaseExecutor.deferLoad(MappedStatement ms,
MetaObject resultObject,
String property,
CacheKey key,
Class<?> targetType) |
<E> List<E> |
SimpleExecutor.doQuery(MappedStatement ms,
Object parameter,
RowBounds rowBounds,
ResultHandler resultHandler,
BoundSql boundSql) |
<E> List<E> |
ReuseExecutor.doQuery(MappedStatement ms,
Object parameter,
RowBounds rowBounds,
ResultHandler resultHandler,
BoundSql boundSql) |
<E> List<E> |
BatchExecutor.doQuery(MappedStatement ms,
Object parameterObject,
RowBounds rowBounds,
ResultHandler resultHandler,
BoundSql boundSql) |
protected abstract <E> List<E> |
BaseExecutor.doQuery(MappedStatement ms,
Object parameter,
RowBounds rowBounds,
ResultHandler resultHandler,
BoundSql boundSql) |
protected <E> Cursor<E> |
SimpleExecutor.doQueryCursor(MappedStatement ms,
Object parameter,
RowBounds rowBounds,
BoundSql boundSql) |
protected <E> Cursor<E> |
ReuseExecutor.doQueryCursor(MappedStatement ms,
Object parameter,
RowBounds rowBounds,
BoundSql boundSql) |
protected <E> Cursor<E> |
BatchExecutor.doQueryCursor(MappedStatement ms,
Object parameter,
RowBounds rowBounds,
BoundSql boundSql) |
protected abstract <E> Cursor<E> |
BaseExecutor.doQueryCursor(MappedStatement ms,
Object parameter,
RowBounds rowBounds,
BoundSql boundSql) |
int |
SimpleExecutor.doUpdate(MappedStatement ms,
Object parameter) |
int |
ReuseExecutor.doUpdate(MappedStatement ms,
Object parameter) |
int |
BatchExecutor.doUpdate(MappedStatement ms,
Object parameterObject) |
protected abstract int |
BaseExecutor.doUpdate(MappedStatement ms,
Object parameter) |
boolean |
Executor.isCached(MappedStatement ms,
CacheKey key) |
boolean |
CachingExecutor.isCached(MappedStatement ms,
CacheKey key) |
boolean |
BaseExecutor.isCached(MappedStatement ms,
CacheKey key) |
<E> List<E> |
Executor.query(MappedStatement ms,
Object parameter,
RowBounds rowBounds,
ResultHandler resultHandler) |
<E> List<E> |
CachingExecutor.query(MappedStatement ms,
Object parameterObject,
RowBounds rowBounds,
ResultHandler resultHandler) |
<E> List<E> |
BaseExecutor.query(MappedStatement ms,
Object parameter,
RowBounds rowBounds,
ResultHandler resultHandler) |
<E> List<E> |
Executor.query(MappedStatement ms,
Object parameter,
RowBounds rowBounds,
ResultHandler resultHandler,
CacheKey cacheKey,
BoundSql boundSql) |
<E> List<E> |
CachingExecutor.query(MappedStatement ms,
Object parameterObject,
RowBounds rowBounds,
ResultHandler resultHandler,
CacheKey key,
BoundSql boundSql) |
<E> List<E> |
BaseExecutor.query(MappedStatement ms,
Object parameter,
RowBounds rowBounds,
ResultHandler resultHandler,
CacheKey key,
BoundSql boundSql) |
<E> Cursor<E> |
Executor.queryCursor(MappedStatement ms,
Object parameter,
RowBounds rowBounds) |
<E> Cursor<E> |
CachingExecutor.queryCursor(MappedStatement ms,
Object parameter,
RowBounds rowBounds) |
<E> Cursor<E> |
BaseExecutor.queryCursor(MappedStatement ms,
Object parameter,
RowBounds rowBounds) |
int |
Executor.update(MappedStatement ms,
Object parameter) |
int |
CachingExecutor.update(MappedStatement ms,
Object parameterObject) |
int |
BaseExecutor.update(MappedStatement ms,
Object parameter) |
Constructor and Description |
---|
BatchResult(MappedStatement mappedStatement,
String sql) |
BatchResult(MappedStatement mappedStatement,
String sql,
Object parameterObject) |
Modifier and Type | Method and Description |
---|---|
void |
Jdbc3KeyGenerator.processAfter(Executor executor,
MappedStatement ms,
Statement stmt,
Object parameter) |
void |
NoKeyGenerator.processAfter(Executor executor,
MappedStatement ms,
Statement stmt,
Object parameter) |
void |
KeyGenerator.processAfter(Executor executor,
MappedStatement ms,
Statement stmt,
Object parameter) |
void |
SelectKeyGenerator.processAfter(Executor executor,
MappedStatement ms,
Statement stmt,
Object parameter) |
void |
Jdbc3KeyGenerator.processBatch(MappedStatement ms,
Statement stmt,
Object parameter) |
void |
Jdbc3KeyGenerator.processBefore(Executor executor,
MappedStatement ms,
Statement stmt,
Object parameter) |
void |
NoKeyGenerator.processBefore(Executor executor,
MappedStatement ms,
Statement stmt,
Object parameter) |
void |
KeyGenerator.processBefore(Executor executor,
MappedStatement ms,
Statement stmt,
Object parameter) |
void |
SelectKeyGenerator.processBefore(Executor executor,
MappedStatement ms,
Statement stmt,
Object parameter) |
Constructor and Description |
---|
SelectKeyGenerator(MappedStatement keyStatement,
boolean executeBefore) |
Modifier and Type | Field and Description |
---|---|
protected MappedStatement |
ResultLoader.mappedStatement |
Constructor and Description |
---|
ResultLoader(Configuration config,
Executor executor,
MappedStatement mappedStatement,
Object parameterObject,
Class<?> targetType,
CacheKey cacheKey,
BoundSql boundSql) |
Constructor and Description |
---|
DefaultResultSetHandler(Executor executor,
MappedStatement mappedStatement,
ParameterHandler parameterHandler,
ResultHandler<?> resultHandler,
BoundSql boundSql,
RowBounds rowBounds) |
Modifier and Type | Field and Description |
---|---|
protected MappedStatement |
BaseStatementHandler.mappedStatement |
Constructor and Description |
---|
BaseStatementHandler(Executor executor,
MappedStatement mappedStatement,
Object parameterObject,
RowBounds rowBounds,
ResultHandler resultHandler,
BoundSql boundSql) |
CallableStatementHandler(Executor executor,
MappedStatement mappedStatement,
Object parameter,
RowBounds rowBounds,
ResultHandler resultHandler,
BoundSql boundSql) |
PreparedStatementHandler(Executor executor,
MappedStatement mappedStatement,
Object parameter,
RowBounds rowBounds,
ResultHandler resultHandler,
BoundSql boundSql) |
RoutingStatementHandler(Executor executor,
MappedStatement ms,
Object parameter,
RowBounds rowBounds,
ResultHandler resultHandler,
BoundSql boundSql) |
SimpleStatementHandler(Executor executor,
MappedStatement mappedStatement,
Object parameter,
RowBounds rowBounds,
ResultHandler resultHandler,
BoundSql boundSql) |
Modifier and Type | Method and Description |
---|---|
MappedStatement |
MappedStatement.Builder.build() |
Modifier and Type | Method and Description |
---|---|
ParameterHandler |
LanguageDriver.createParameterHandler(MappedStatement mappedStatement,
Object parameterObject,
BoundSql boundSql)
Creates a
ParameterHandler that passes the actual parameters to the the JDBC statement. |
Constructor and Description |
---|
DefaultParameterHandler(MappedStatement mappedStatement,
Object parameterObject,
BoundSql boundSql) |
Modifier and Type | Method and Description |
---|---|
ParameterHandler |
XMLLanguageDriver.createParameterHandler(MappedStatement mappedStatement,
Object parameterObject,
BoundSql boundSql) |
Modifier and Type | Field and Description |
---|---|
protected Map<String,MappedStatement> |
Configuration.mappedStatements |
Modifier and Type | Method and Description |
---|---|
MappedStatement |
Configuration.getMappedStatement(String id) |
MappedStatement |
Configuration.getMappedStatement(String id,
boolean validateIncompleteStatements) |
Modifier and Type | Method and Description |
---|---|
Collection<MappedStatement> |
Configuration.getMappedStatements() |
Modifier and Type | Method and Description |
---|---|
void |
Configuration.addMappedStatement(MappedStatement ms) |
abstract void |
AutoMappingUnknownColumnBehavior.doAction(MappedStatement mappedStatement,
String columnName,
String propertyName,
Class<?> propertyType)
Perform the action when detects an unknown column (or unknown property type) of automatic mapping target.
|
ParameterHandler |
Configuration.newParameterHandler(MappedStatement mappedStatement,
Object parameterObject,
BoundSql boundSql) |
ResultSetHandler |
Configuration.newResultSetHandler(Executor executor,
MappedStatement mappedStatement,
RowBounds rowBounds,
ParameterHandler parameterHandler,
ResultHandler resultHandler,
BoundSql boundSql) |
StatementHandler |
Configuration.newStatementHandler(Executor executor,
MappedStatement mappedStatement,
Object parameterObject,
RowBounds rowBounds,
ResultHandler resultHandler,
BoundSql boundSql) |
Copyright © 2009–2021 MyBatis.org. All rights reserved.