Package org.datanucleus.store.query
Interface Extent<T>
- 
- Type Parameters:
- T- The type of the candidate
 - All Known Implementing Classes:
- AbstractExtent,- DefaultCandidateExtent
 
 public interface Extent<T>Extent of objects within DataNucleus. Represents objects of a type, optionally including the subclasses of that type.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose(Iterator<T> iterator)Close the specified iterator.voidcloseAll()Close all iterators and all resources for this extent.Class<T>getCandidateClass()Accessor for candidate class of the extent.ExecutionContextgetExecutionContext()FetchPlangetFetchPlan()booleanhasSubclasses()Accessor for whether this extent includes subclasses.Iterator<T>iterator()Accessor for an iterator over the extent.
 
- 
- 
- 
Method Detail- 
getCandidateClassClass<T> getCandidateClass() Accessor for candidate class of the extent.- Returns:
- Candidate class
 
 - 
hasSubclassesboolean hasSubclasses() Accessor for whether this extent includes subclasses.- Returns:
- Whether subclasses are contained
 
 - 
getExecutionContextExecutionContext getExecutionContext() 
 - 
getFetchPlanFetchPlan getFetchPlan() 
 - 
closeAllvoid closeAll() Close all iterators and all resources for this extent.
 
- 
 
-