-
- 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close(Iterator<T> iterator)
Close the specified iterator.void
closeAll()
Close all iterators and all resources for this extent.Class<T>
getCandidateClass()
Accessor for candidate class of the extent.ExecutionContext
getExecutionContext()
FetchPlan
getFetchPlan()
boolean
hasSubclasses()
Accessor for whether this extent includes subclasses.Iterator<T>
iterator()
Accessor for an iterator over the extent.
-
-
-
Method Detail
-
getCandidateClass
Class<T> getCandidateClass()
Accessor for candidate class of the extent.- Returns:
- Candidate class
-
hasSubclasses
boolean hasSubclasses()
Accessor for whether this extent includes subclasses.- Returns:
- Whether subclasses are contained
-
getExecutionContext
ExecutionContext getExecutionContext()
-
getFetchPlan
FetchPlan getFetchPlan()
-
closeAll
void closeAll()
Close all iterators and all resources for this extent.
-
-