org.datanucleus.store.mapped.scostore
Class ArrayStoreIterator

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

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

Abstract iterator for presenting the results for an array store.


Constructor Summary
ArrayStoreIterator(ObjectProvider sm, java.lang.Object rs, ResultObjectFactory rof, ElementContainerStore backingStore)
          Constructor.
 
Method Summary
protected abstract  AbstractMemberMetaData getOwnerFieldMetaData(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

ArrayStoreIterator

public ArrayStoreIterator(ObjectProvider sm,
                          java.lang.Object rs,
                          ResultObjectFactory rof,
                          ElementContainerStore backingStore)
                   throws MappedDatastoreException
Constructor.

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

getOwnerFieldMetaData

protected abstract AbstractMemberMetaData getOwnerFieldMetaData(DatastoreContainerObject containerTable)

next

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

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


Copyright © 2011. All Rights Reserved.