Class ResultLoaderMap
- java.lang.Object
-
- org.apache.ibatis.executor.loader.ResultLoaderMap
-
public class ResultLoaderMap extends Object
- Author:
- Clinton Begin, Franta Mejta
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResultLoaderMap.LoadPair
Property which was not loaded yet.
-
Constructor Summary
Constructors Constructor Description ResultLoaderMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addLoader(String property, MetaObject metaResultObject, ResultLoader resultLoader)
Map<String,ResultLoaderMap.LoadPair>
getProperties()
Set<String>
getPropertyNames()
boolean
hasLoader(String property)
boolean
load(String property)
void
loadAll()
void
remove(String property)
int
size()
-
-
-
Method Detail
-
addLoader
public void addLoader(String property, MetaObject metaResultObject, ResultLoader resultLoader)
-
getProperties
public final Map<String,ResultLoaderMap.LoadPair> getProperties()
-
size
public int size()
-
hasLoader
public boolean hasLoader(String property)
-
load
public boolean load(String property) throws SQLException
- Throws:
SQLException
-
remove
public void remove(String property)
-
loadAll
public void loadAll() throws SQLException
- Throws:
SQLException
-
-