Class ResultLoader
- java.lang.Object
-
- org.apache.ibatis.executor.loader.ResultLoader
-
public class ResultLoader extends java.lang.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 java.lang.Object
parameterObject
protected ResultExtractor
resultExtractor
protected java.lang.Object
resultObject
protected 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
Modifier and Type Method Description java.lang.Object
loadResult()
boolean
wasNull()
-
-
-
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)
-
-