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<uiuc.oai.OAIRecord>, org.gcube.data.streams.Stream<uiuc.oai.OAIRecord>

public abstract class SetIterator
extends RecordIterator

Author:
Fabio Simeoni

Constructor Summary
SetIterator(List<Set> sets)
           
 
Method Summary
protected abstract  uiuc.oai.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
 

Constructor Detail

SetIterator

public SetIterator(List<Set> sets)
Method Detail

hasNext

public boolean hasNext()

fetchRecords

protected abstract uiuc.oai.OAIRecordList fetchRecords(Set set)
                                                throws uiuc.oai.OAIException
Throws:
uiuc.oai.OAIException


Copyright © 2012. All Rights Reserved.