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 Details

    • 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()
    • iterator

      Iterator<T> iterator()
      Accessor for an iterator over the extent.
      Returns:
      The iterator
    • closeAll

      void closeAll()
      Close all iterators and all resources for this extent.
    • close

      void close(Iterator<T> iterator)
      Close the specified iterator.
      Parameters:
      iterator - The iterator