org.gcube.common.data
Class RecordIterator

java.lang.Object
  extended by org.gcube.common.data.RecordIterator
All Implemented Interfaces:
Iterator<Record>

public class RecordIterator
extends Object
implements Iterator<Record>

Version:
0.1
Author:
David Uvalle, david.uvalle@gmail.com

Field Summary
 int completeListSize
           
 
Constructor Summary
RecordIterator(String resumptionToken, String from, String until, String set, String metadataPrefix, String baseUrl)
           
 
Method Summary
 boolean hasNext()
           
 Record next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

completeListSize

public int completeListSize
Constructor Detail

RecordIterator

public RecordIterator(String resumptionToken,
                      String from,
                      String until,
                      String set,
                      String metadataPrefix,
                      String baseUrl)
               throws Exception
Throws:
Exception
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<Record>

next

public Record next()
Specified by:
next in interface Iterator<Record>

remove

public void remove()
Specified by:
remove in interface Iterator<Record>


Copyright © 2013. All Rights Reserved.