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

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

public abstract class RecordIter
extends Object
implements org.gcube.data.streams.Stream<org.gcube.common.data.Record>

Author:
Fabio Simeoni

Constructor Summary
RecordIter()
           
 
Method Summary
 void close()
          
 URI locator()
           
 org.gcube.common.data.Record next()
           
 void 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
hasNext, isClosed
 

Constructor Detail

RecordIter

public RecordIter()
Method Detail

next

public org.gcube.common.data.Record next()
Specified by:
next in interface Iterator<org.gcube.common.data.Record>
Specified by:
next in interface org.gcube.data.streams.Stream<org.gcube.common.data.Record>

locator

public URI locator()
Specified by:
locator in interface org.gcube.data.streams.Stream<org.gcube.common.data.Record>

close

public void close()

Specified by:
close in interface org.gcube.data.streams.Stream<org.gcube.common.data.Record>

remove

public void remove()
Specified by:
remove in interface Iterator<org.gcube.common.data.Record>


Copyright © 2013. All Rights Reserved.