org.datanucleus.store
Class DefaultCandidateExtent
java.lang.Object
org.datanucleus.store.AbstractExtent
org.datanucleus.store.DefaultCandidateExtent
- All Implemented Interfaces:
- Extent
public class DefaultCandidateExtent
- extends AbstractExtent
Extent that does a simple JDOQL query for the candidate with/without subclasses.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
queryResultsByIterator
protected java.util.HashMap<java.util.Iterator,QueryResult> queryResultsByIterator
- Map of the iterators of the Extents accessed.
DefaultCandidateExtent
public DefaultCandidateExtent(ObjectManager om,
java.lang.Class cls,
boolean subclasses,
AbstractClassMetaData cmd)
- Constructor.
- Parameters:
om - Object Managercls - candidate classsubclasses - Whether to include subclassescmd - MetaData for the candidate class
iterator
public java.util.Iterator iterator()
hasSubclasses
public boolean hasSubclasses()
- Description copied from class:
AbstractExtent
- Returns whether this Extent was defined to contain subclasses.
- Specified by:
hasSubclasses in interface Extent- Overrides:
hasSubclasses in class AbstractExtent
- Returns:
- true if this Extent was defined to include subclasses.
getObjectManager
public ObjectManager getObjectManager()
- Description copied from class:
AbstractExtent
- Accessor for the owning ObjectManager.
- Specified by:
getObjectManager in interface Extent- Overrides:
getObjectManager in class AbstractExtent
- Returns:
- the owning ObjectManager
getFetchPlan
public FetchPlan getFetchPlan()
closeAll
public void closeAll()
close
public void close(java.util.Iterator iterator)
Copyright © 2010. All Rights Reserved.