Class ResultLoader
- java.lang.Object
-
- org.apache.ibatis.executor.loader.ResultLoader
-
public class ResultLoader extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected BoundSqlboundSqlprotected CacheKeycacheKeyprotected Configurationconfigurationprotected longcreatorThreadIdprotected Executorexecutorprotected booleanloadedprotected MappedStatementmappedStatementprotected ObjectFactoryobjectFactoryprotected java.lang.ObjectparameterObjectprotected ResultExtractorresultExtractorprotected java.lang.ObjectresultObjectprotected java.lang.Class<?>targetType
-
Constructor Summary
Constructors Constructor Description ResultLoader(Configuration config, Executor executor, MappedStatement mappedStatement, java.lang.Object parameterObject, java.lang.Class<?> targetType, CacheKey cacheKey, BoundSql boundSql)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectloadResult()private ExecutornewExecutor()private <E> java.util.List<E>selectList()booleanwasNull()
-
-
-
Field Detail
-
configuration
protected final Configuration configuration
-
executor
protected final Executor executor
-
mappedStatement
protected final MappedStatement mappedStatement
-
parameterObject
protected final java.lang.Object parameterObject
-
targetType
protected final java.lang.Class<?> targetType
-
objectFactory
protected final ObjectFactory objectFactory
-
cacheKey
protected final CacheKey cacheKey
-
boundSql
protected final BoundSql boundSql
-
resultExtractor
protected final ResultExtractor resultExtractor
-
creatorThreadId
protected final long creatorThreadId
-
loaded
protected boolean loaded
-
resultObject
protected java.lang.Object resultObject
-
-
Constructor Detail
-
ResultLoader
public ResultLoader(Configuration config, Executor executor, MappedStatement mappedStatement, java.lang.Object parameterObject, java.lang.Class<?> targetType, CacheKey cacheKey, BoundSql boundSql)
-
-
Method Detail
-
loadResult
public java.lang.Object loadResult() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
selectList
private <E> java.util.List<E> selectList() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
newExecutor
private Executor newExecutor()
-
wasNull
public boolean wasNull()
-
-