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 Summary
Modifier and TypeMethodDescriptionvoid
Close the specified iterator.void
closeAll()
Close all iterators and all resources for this extent.Accessor for candidate class of the extent.boolean
Accessor for whether this extent includes subclasses.iterator()
Accessor for an iterator over the extent.
-
Method Details
-
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() -
iterator
Accessor for an iterator over the extent.- Returns:
- The iterator
-
closeAll
void closeAll()Close all iterators and all resources for this extent. -
close
Close the specified iterator.- Parameters:
iterator
- The iterator
-