getExtent(persistenceCapableClass, subclasses) - JDO PersistenceManager's method

Extent<T> getExtent(
  Class<T> persistenceCapableClass,
  boolean subclasses

The PersistenceManager manages a collection of instances in the data store based on the class of the instances. This method returns an Extent of instances in the data store that might be iterated or given to a Query. The Extent itself might not reference any instances, but only hold the class name and an indicator as to whether subclasses are included in the Extent.

Note that the Extent might be very large.

persistenceCapableClass - Class of instances
subclasses - whether to include instances of subclasses
an Extent of the specified Class
JDO 1.0
See Also:

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.