org.datanucleus.store.rdbms.scostore
Class SetStoreIterator

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

public abstract class SetStoreIterator
extends Object
implements Iterator

Class representing an iterator of the Set.


Constructor Summary
SetStoreIterator(org.datanucleus.state.ObjectProvider op, Object rs, org.datanucleus.store.query.ResultObjectFactory rof, AbstractSetStore abstractSetStore)
          Constructor
 
Method Summary
protected abstract  org.datanucleus.metadata.AbstractMemberMetaData getOwnerMemberMetaData(Table containerTable)
           
 boolean hasNext()
           
 Object next()
           
protected abstract  boolean next(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(org.datanucleus.state.ObjectProvider op,
                        Object rs,
                        org.datanucleus.store.query.ResultObjectFactory rof,
                        AbstractSetStore abstractSetStore)
                 throws MappedDatastoreException
Constructor

Parameters:
op - the ObjectProvider
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 Iterator

next

public Object next()
Specified by:
next in interface Iterator

remove

public void remove()
Specified by:
remove in interface Iterator

next

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

getOwnerMemberMetaData

protected abstract org.datanucleus.metadata.AbstractMemberMetaData getOwnerMemberMetaData(Table containerTable)


Copyright © 2012. All Rights Reserved.