E
- type that this Extent is for.public class JDOExtent<E> extends Object implements javax.jdo.Extent<E>
Constructor and Description |
---|
JDOExtent(javax.jdo.PersistenceManager pm,
org.datanucleus.store.Extent extent)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
close(Iterator<E> iterator)
Method to close the Extent iterator.
|
void |
closeAll()
Method to close all Extent iterators.
|
Class<E> |
getCandidateClass()
Accessor for the candidate class of the Extent.
|
org.datanucleus.store.Extent<E> |
getExtent()
Accessor for the real extent.
|
javax.jdo.FetchPlan |
getFetchPlan()
Accessor for the FetchPlan for the Extent.
|
javax.jdo.PersistenceManager |
getPersistenceManager()
Accessor for the PersistenceManager.
|
boolean |
hasSubclasses()
Accessor for whether the Extent includes subclasses.
|
Iterator<E> |
iterator()
Accessor for an iterator for this Extent.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public JDOExtent(javax.jdo.PersistenceManager pm, org.datanucleus.store.Extent extent)
pm
- PersistenceManagerextent
- Underlying Extentpublic void close()
close
in interface AutoCloseable
close
in interface javax.jdo.Extent<E>
public void close(Iterator<E> iterator)
close
in interface javax.jdo.Extent<E>
iterator
- Iterator for the extent.public void closeAll()
closeAll
in interface javax.jdo.Extent<E>
public Class<E> getCandidateClass()
getCandidateClass
in interface javax.jdo.Extent<E>
public boolean hasSubclasses()
hasSubclasses
in interface javax.jdo.Extent<E>
public javax.jdo.FetchPlan getFetchPlan()
getFetchPlan
in interface javax.jdo.Extent<E>
public javax.jdo.PersistenceManager getPersistenceManager()
getPersistenceManager
in interface javax.jdo.Extent<E>
public org.datanucleus.store.Extent<E> getExtent()
Copyright © 2020. All rights reserved.