|
SolarMetric Kodo JDO 3.3.5 generated on August 31 2005 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--kodo.runtime.ExtentImpl
Abstract Extent implementation that takes care of everything
but creating and closing iterators.
| Constructor Summary | |
ExtentImpl(KodoPersistenceManager pm,
Class type,
boolean subs)
Constructor. |
|
| Method Summary | |
void |
close(Iterator itr)
|
void |
closeAll()
|
Class |
getCandidateClass()
|
FetchConfiguration |
getFetchConfiguration()
Return the (mutable) fetch configuration for this extent. |
boolean |
getIgnoreCache()
Whether this extent will ignore the persistence manager cache. |
PersistenceManager |
getPersistenceManager()
|
protected abstract ResultObjectProvider |
getResultObjectProvider(ClassMetaData meta)
Return a result object provider for the given type. |
boolean |
hasSubclasses()
|
Iterator |
iterator()
|
List |
list()
Returns a list of all objects represented by this extent. |
void |
setIgnoreCache(boolean ignoreCache)
Whether this extent will ignore the persistence manager cache. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ExtentImpl(KodoPersistenceManager pm,
Class type,
boolean subs)
pm - the owning persistence managertype - the candidate classsubs - whether subclasses are included in the extent| Method Detail |
public FetchConfiguration getFetchConfiguration()
KodoExtentgetFetchConfiguration in interface KodoExtentpublic boolean getIgnoreCache()
KodoExtentgetIgnoreCache in interface KodoExtentpublic void setIgnoreCache(boolean ignoreCache)
KodoExtentsetIgnoreCache in interface KodoExtentpublic List list()
KodoExtentList by traversing the entire iterator returned by a
call to Extent.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.list in interface KodoExtentpublic Iterator iterator()
iterator in interface Extentpublic PersistenceManager getPersistenceManager()
getPersistenceManager in interface Extentpublic Class getCandidateClass()
getCandidateClass in interface Extentpublic boolean hasSubclasses()
hasSubclasses in interface Extentpublic void closeAll()
closeAll in interface Extentpublic void close(Iterator itr)
close in interface Extentprotected abstract ResultObjectProvider getResultObjectProvider(ClassMetaData meta)
|
SolarMetric Kodo JDO 3.3.5 generated on August 31 2005 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||