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

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

public abstract class RepositoryIterator
extends RecordIter

Author:
Fabio Simeoni

Constructor Summary
RepositoryIterator()
           
 
Method Summary
protected abstract  org.gcube.common.data.RecordIterator fetchRecords()
           
 boolean hasNext()
           
 
Methods inherited from class org.gcube.data.oai.tmplugin.repository.iterators.RecordIter
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

RepositoryIterator

public RepositoryIterator()
Method Detail

hasNext

public boolean hasNext()

fetchRecords

protected abstract org.gcube.common.data.RecordIterator fetchRecords()
                                                              throws Exception
Throws:
Exception


Copyright © 2013. All Rights Reserved.