ObjectDB ObjectDB

Internal Website Search

1-10 of 50 resultsRefresh
10

javax.jdo.Extent

javax.jdo Interface Extent<E> Superinterfaces: Iterable<E> Instances of the Extent class represent ... including its subclasses or subinterfaces. The Extent instance has two possible uses: to iterate ... associated with this Extent instance. Close an Iterator associated with this Extent instance. Iterators
9

close(it)

Method javax.jdo.Extent void close( Iterator<E> it ) Close an Iterator associated with this Extent ... NoSuchElementException on next(). The Extent instance can still be used as a parameter of Query.setExtent, and to get an Iterator. Parameters: it - an Iterator obtained by the method iterator() on this Extent instance. Since: JDO 1.0
9

getCandidateClass()

Method javax.jdo.Extent Class<E> getCandidateClass() An Extent contains all instances of a particular class or interface in the data store; this method returns the Class of the instances represented by this Extent. Returns: the Class of instances of this Extent. Since: JDO 1.0
8

iterator()

Method javax.jdo.Extent Iterator<E> iterator() Returns an iterator over all the instances in the Extent. The behavior of the returned iterator might depend on the setting of the ignoreCache flag in the owning PersistenceManager. Returns: an iterator over all instances in the Extent Since: JDO 1.0
8

hasSubclasses()

Method javax.jdo.Extent boolean hasSubclasses() Returns whether this Extent was defined to contain subclasses. Returns: true if this Extent was defined to contain instances that are of a subclass type. Since: JDO 1.0
8

closeAll()

Method javax.jdo.Extent void closeAll() Close all Iterators associated with this Extent instance. Iterators closed by this method will return false to hasNext() and will throw NoSuchElementException on next(). The Extent instance can still be used as a parameter of Query.setExtent, and to get an Iterator. Since: JDO 1.0
8

getPersistenceManager()

Method javax.jdo.Extent PersistenceManager getPersistenceManager() An Extent is managed by a PersistenceManager; this method gives access to the owning PersistenceManager. Returns: the owning PersistenceManager Since: JDO 1.0
8

getFetchPlan()

Method javax.jdo.Extent FetchPlan getFetchPlan() Get the fetch plan associated with this Extent. Returns: the fetch plan Since: JDO 2.0
8

[ODB1] Chapter 6 - Persistent Objects

objects of persistent classes are not included in the extents of their classes, so they cannot be iterated ... to use an Extent instance to iterate over all the objects of a specific class, retrieving them from ... . As already noted, object names are supported by ObjectDB but not by JDO. Retrieval by an Extent
8

[ODB1] Chapter 7 - JDOQL Queries

. An Extent, for instance, can be used to retrieve all the instances of a specified persistent class ... : A candidate collection containing persistent objects (usually an Extent) A candidate class (usually ... collection is not specified explicitly, as it is in this query, the entire Extent of the candidate class

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support