org.datanucleus.store
Interface Extent

All Known Implementing Classes:
AbstractExtent, DefaultCandidateExtent

public interface Extent

Extent of objects within DataNucleus. Represents objects of a type, optionally including the subclasses of that type.


Method Summary
 void close(java.util.Iterator iterator)
          Close the specified iterator.
 void closeAll()
          Close all iterators and all resources for this extent.
 java.lang.Class getCandidateClass()
          Accessor for candidate class of the extent.
 ExecutionContext getExecutionContext()
           
 FetchPlan getFetchPlan()
           
 boolean hasSubclasses()
          Accessor for whether this extent includes subclasses.
 java.util.Iterator iterator()
          Accessor for an iterator over the extent.
 

Method Detail

getCandidateClass

java.lang.Class 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

java.util.Iterator 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(java.util.Iterator iterator)
Close the specified iterator.

Parameters:
iterator - The iterator


Copyright © 2011. All Rights Reserved.