public class DefaultCandidateExtent extends AbstractExtent
| Modifier and Type | Field and Description |
|---|---|
protected Map<Iterator,QueryResult> |
queryResultsByIterator
Map of the iterators of the Extents accessed.
|
candidateClass, cmd, ec, LOCALISER, subclasses| Constructor and Description |
|---|
DefaultCandidateExtent(ExecutionContext ec,
Class cls,
boolean subclasses,
AbstractClassMetaData cmd)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close(Iterator iterator)
Close the specified iterator.
|
void |
closeAll()
Close all iterators and all resources for this extent.
|
ExecutionContext |
getExecutionContext()
Accessor for the owning execution context.
|
FetchPlan |
getFetchPlan() |
boolean |
hasSubclasses()
Returns whether this Extent was defined to contain subclasses.
|
Iterator |
iterator()
Accessor for an iterator over the extent.
|
getCandidateClass, toStringprotected Map<Iterator,QueryResult> queryResultsByIterator
public DefaultCandidateExtent(ExecutionContext ec, Class cls, boolean subclasses, AbstractClassMetaData cmd)
ec - execution contextcls - candidate classsubclasses - Whether to include subclassescmd - MetaData for the candidate classpublic Iterator iterator()
Extentpublic boolean hasSubclasses()
AbstractExtenthasSubclasses in interface ExtenthasSubclasses in class AbstractExtentpublic ExecutionContext getExecutionContext()
AbstractExtentgetExecutionContext in interface ExtentgetExecutionContext in class AbstractExtentpublic FetchPlan getFetchPlan()
public void closeAll()
ExtentCopyright © 2013. All Rights Reserved.