|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.solarmetric.rd.kodo.runtime.ExtentImpl
Abstract Extent implementation that takes care of everything
but creating and closing iterators.
| Constructor Summary | |
ExtentImpl(com.solarmetric.rd.kodo.runtime.PersistenceManagerImpl pm,
java.lang.Class type,
boolean subs)
Constructor. |
|
| Method Summary | |
void |
close(java.util.Iterator itr)
|
void |
closeAll()
|
protected void |
closeIterator(java.util.Iterator iter)
Close the given iterator. |
java.lang.Class |
getCandidateClass()
|
int |
getFetchBatchSize()
Return the fetch batch size for large result set support on this extent; defaults to the com.solarmetric.kodo.FetchBatchSize
setting. |
int |
getFetchThreshold()
Return the fetch threshold for large result set support on this extent; defaults to the com.solarmetric.kodo.FetchThreshold
setting. |
protected abstract java.util.Iterator |
getIterator()
Return an iterator over this extent. |
javax.jdo.PersistenceManager |
getPersistenceManager()
|
boolean |
hasSubclasses()
|
java.util.Iterator |
iterator()
|
java.util.List |
list()
API extension. |
void |
setFetchBatchSize(int fetchBatchSize)
Set the fetch batch size for large result set support on this extent; defaults to the com.solarmetric.kodo.FetchBatchSize
setting. |
void |
setFetchThreshold(int fetchThreshold)
Set the fetch threshold for large result set support on this extent; defaults to the com.solarmetric.kodo.FetchThreshold
setting. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ExtentImpl(com.solarmetric.rd.kodo.runtime.PersistenceManagerImpl pm,
java.lang.Class type,
boolean subs)
pm - the owning persistence managertype - the candidate classsubs - whether subclasses are included in the extent| Method Detail |
public int getFetchThreshold()
com.solarmetric.kodo.FetchThreshold
setting.
public void setFetchThreshold(int fetchThreshold)
com.solarmetric.kodo.FetchThreshold
setting.
public int getFetchBatchSize()
com.solarmetric.kodo.FetchBatchSize
setting. Note that this property will be ignored under some data
stores.
public void setFetchBatchSize(int fetchBatchSize)
com.solarmetric.kodo.FetchBatchSize
setting. Note that this property will be ignored under some data
stores.
public java.util.List list()
List by traversing
the entire iterator returned by a call to iterator(). This
means that Collection.size() will work correctly, but if
the extent represents a large data set, this method may be
quite slow and may consume quite a bit of memory.
public java.util.Iterator iterator()
iterator in interface javax.jdo.Extentpublic javax.jdo.PersistenceManager getPersistenceManager()
getPersistenceManager in interface javax.jdo.Extentpublic java.lang.Class getCandidateClass()
getCandidateClass in interface javax.jdo.Extentpublic boolean hasSubclasses()
hasSubclasses in interface javax.jdo.Extentpublic void closeAll()
closeAll in interface javax.jdo.Extentpublic void close(java.util.Iterator itr)
close in interface javax.jdo.Extentprotected abstract java.util.Iterator getIterator()
protected void closeIterator(java.util.Iterator iter)
|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||