Class ResultLoaderMap
- java.lang.Object
-
- org.apache.ibatis.executor.loader.ResultLoaderMap
-
public class ResultLoaderMap extends java.lang.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
Modifier and Type Method Description void
addLoader(java.lang.String property, MetaObject metaResultObject, ResultLoader resultLoader)
java.util.Map<java.lang.String,ResultLoaderMap.LoadPair>
getProperties()
java.util.Set<java.lang.String>
getPropertyNames()
boolean
hasLoader(java.lang.String property)
boolean
load(java.lang.String property)
void
loadAll()
void
remove(java.lang.String property)
int
size()
-
-
-
Method Detail
-
addLoader
public void addLoader(java.lang.String property, MetaObject metaResultObject, ResultLoader resultLoader)
-
getProperties
public final java.util.Map<java.lang.String,ResultLoaderMap.LoadPair> getProperties()
-
getPropertyNames
public java.util.Set<java.lang.String> getPropertyNames()
-
size
public int size()
-
hasLoader
public boolean hasLoader(java.lang.String property)
-
load
public boolean load(java.lang.String property) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
remove
public void remove(java.lang.String property)
-
loadAll
public void loadAll() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
-