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 Detail

      • getCandidateClass

        Class<T> getCandidateClass()
        Accessor for candidate class of the extent.
        Candidate class
      • hasSubclasses

        boolean hasSubclasses()
        Accessor for whether this extent includes subclasses.
        Whether subclasses are contained
      • iterator

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

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

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