org.datanucleus.store.mapped.scostore
Class SetStoreIterator

java.lang.Object
  extended by org.datanucleus.store.mapped.scostore.SetStoreIterator
All Implemented Interfaces:
java.util.Iterator

public abstract class SetStoreIterator
extends java.lang.Object
implements java.util.Iterator

Class representing an iterator of the Set.


Constructor Summary
SetStoreIterator(ObjectProvider sm, java.lang.Object rs, ResultObjectFactory rof, AbstractSetStore abstractSetStore)
          Constructor
 
Method Summary
protected abstract  AbstractMemberMetaData getOwnerMemberMetaData(DatastoreContainerObject containerTable)
           
 boolean hasNext()
           
 java.lang.Object next()
           
protected abstract  boolean next(java.lang.Object rs)
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetStoreIterator

public SetStoreIterator(ObjectProvider sm,
                        java.lang.Object rs,
                        ResultObjectFactory rof,
                        AbstractSetStore abstractSetStore)
                 throws MappedDatastoreException
Constructor

Parameters:
sm - the StateManager
rs - the ResultSet
rof - the Query.ResultObjectFactory
abstractSetStore - the abstract set store
Throws:
MappedDatastoreException
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator

next

public java.lang.Object next()
Specified by:
next in interface java.util.Iterator

remove

public void remove()
Specified by:
remove in interface java.util.Iterator

next

protected abstract boolean next(java.lang.Object rs)
                         throws MappedDatastoreException
Throws:
MappedDatastoreException

getOwnerMemberMetaData

protected abstract AbstractMemberMetaData getOwnerMemberMetaData(DatastoreContainerObject containerTable)


Copyright © 2011. All Rights Reserved.