Class MapEntrySetStore.SetIterator
java.lang.Object
org.datanucleus.store.rdbms.scostore.MapEntrySetStore.SetIterator
- All Implemented Interfaces:
Iterator
- Enclosing class:
MapEntrySetStore<K,
V>
Inner class representing an iterator for the Set.
TODO Provide an option where a PersistentClassROF is provided for key and/or value so we can load fetch plan fields rather than just id.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Iterator
private Map.Entry
private final MapEntrySetStore
private final org.datanucleus.state.DNStateManager
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
SetIterator
(org.datanucleus.state.DNStateManager sm, MapEntrySetStore setStore, org.datanucleus.metadata.AbstractMemberMetaData ownerMmd, ResultSet rs, int[] keyResultCols, int[] valueResultCols) Constructor for iterating the Set of entries. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
sm
private final org.datanucleus.state.DNStateManager sm -
delegate
-
lastElement
-
setStore
-
-
Constructor Details
-
SetIterator
protected SetIterator(org.datanucleus.state.DNStateManager sm, MapEntrySetStore setStore, org.datanucleus.metadata.AbstractMemberMetaData ownerMmd, ResultSet rs, int[] keyResultCols, int[] valueResultCols) Constructor for iterating the Set of entries.- Parameters:
sm
- StateManagersetStore
- the set storeownerMmd
- the owner member meta data - can be null (for non-joinTable cases)rs
- the ResultSetkeyResultCols
- Column(s) for the key idvalueResultCols
- Column(s) for the value id
-
-
Method Details