Class ResultLoader
- java.lang.Object
-
- org.apache.ibatis.executor.loader.ResultLoader
-
public class ResultLoader extends Object
- Author:
- Clinton Begin
-
-
Field Summary
Fields Modifier and Type Field Description protected BoundSql
boundSql
protected CacheKey
cacheKey
protected Configuration
configuration
protected long
creatorThreadId
protected Executor
executor
protected boolean
loaded
protected MappedStatement
mappedStatement
protected ObjectFactory
objectFactory
protected Object
parameterObject
protected ResultExtractor
resultExtractor
protected Object
resultObject
protected Class<?>
targetType
-
Constructor Summary
Constructors Constructor Description ResultLoader(Configuration config, Executor executor, MappedStatement mappedStatement, Object parameterObject, Class<?> targetType, CacheKey cacheKey, BoundSql boundSql)
-
-
-
Field Detail
-
configuration
protected final Configuration configuration
-
executor
protected final Executor executor
-
mappedStatement
protected final MappedStatement mappedStatement
-
parameterObject
protected final Object parameterObject
-
targetType
protected final 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 Object resultObject
-
-
Constructor Detail
-
ResultLoader
public ResultLoader(Configuration config, Executor executor, MappedStatement mappedStatement, Object parameterObject, Class<?> targetType, CacheKey cacheKey, BoundSql boundSql)
-
-
Method Detail
-
loadResult
public Object loadResult() throws SQLException
- Throws:
SQLException
-
wasNull
public boolean wasNull()
-
-