org.gcube.data.oai.tmplugin.repository.iterators
Class SetIterator

java.lang.Object
  extended by org.gcube.data.oai.tmplugin.repository.iterators.RecordIterator
      extended by org.gcube.data.oai.tmplugin.repository.iterators.SetIterator
All Implemented Interfaces:
Iterator<org.gcube.common.OAIRecord>, org.gcube.data.streams.Stream<org.gcube.common.OAIRecord>

public abstract class SetIterator
extends RecordIterator

Author:
Fabio Simeoni

Constructor Summary
SetIterator(List<Set> sets)
           
 
Method Summary
protected abstract  org.gcube.common.OAIRecordList fetchRecords(Set set)
           
 boolean hasNext()
           
 
Methods inherited from class org.gcube.data.oai.tmplugin.repository.iterators.RecordIterator
close, locator, next, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.gcube.data.streams.Stream
isClosed
 

Constructor Detail

SetIterator

public SetIterator(List<Set> sets)
Method Detail

hasNext

public boolean hasNext()

fetchRecords

protected abstract org.gcube.common.OAIRecordList fetchRecords(Set set)
                                                        throws org.gcube.common.OAIException
Throws:
org.gcube.common.OAIException


Copyright © 2013. All Rights Reserved.