org.datanucleus.store.rdbms.scostore
Class ArrayStoreIterator

java.lang.Object
  extended by org.datanucleus.store.rdbms.scostore.ArrayStoreIterator
All Implemented Interfaces:
Iterator
Direct Known Subclasses:
RDBMSArrayStoreIterator

public abstract class ArrayStoreIterator
extends Object
implements Iterator

Abstract iterator for presenting the results for an array store.


Constructor Summary
ArrayStoreIterator(org.datanucleus.store.ObjectProvider sm, Object rs, org.datanucleus.store.query.ResultObjectFactory rof, ElementContainerStore backingStore)
          Constructor.
 
Method Summary
protected abstract  org.datanucleus.metadata.AbstractMemberMetaData getOwnerFieldMetaData(org.datanucleus.store.mapped.DatastoreContainerObject 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

ArrayStoreIterator

public ArrayStoreIterator(org.datanucleus.store.ObjectProvider sm,
                          Object rs,
                          org.datanucleus.store.query.ResultObjectFactory rof,
                          ElementContainerStore backingStore)
                   throws org.datanucleus.store.mapped.exceptions.MappedDatastoreException
Constructor.

Parameters:
sm - the StateManager
rs - the ResultSet
rof - the Query.ResultObjectFactory
Throws:
org.datanucleus.store.mapped.exceptions.MappedDatastoreException
Method Detail

getOwnerFieldMetaData

protected abstract org.datanucleus.metadata.AbstractMemberMetaData getOwnerFieldMetaData(org.datanucleus.store.mapped.DatastoreContainerObject containerTable)

next

protected abstract boolean next(Object rs)
                         throws org.datanucleus.store.mapped.exceptions.MappedDatastoreException
Throws:
org.datanucleus.store.mapped.exceptions.MappedDatastoreException

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


Copyright © 2012. All Rights Reserved.