edu.iu.cnets.klatsch.feed
Class Truthy.SqlEventIterator

java.lang.Object
  extended by edu.iu.cnets.klatsch.feed.Truthy.SqlEventIterator
All Implemented Interfaces:
java.util.Iterator<Event>
Enclosing class:
Truthy

 class Truthy.SqlEventIterator
extends java.lang.Object
implements java.util.Iterator<Event>

Internal class for converting a ResultSet into a series of Event objects.


Field Summary
(package private)  boolean done
           
(package private)  java.sql.ResultSet result
           
 
Constructor Summary
Truthy.SqlEventIterator(java.sql.ResultSet result)
           
 
Method Summary
 boolean hasNext()
           
 Event next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

result

java.sql.ResultSet result

done

boolean done
Constructor Detail

Truthy.SqlEventIterator

Truthy.SqlEventIterator(java.sql.ResultSet result)
                  throws java.sql.SQLException
Throws:
java.sql.SQLException
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<Event>

next

public Event next()
Specified by:
next in interface java.util.Iterator<Event>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<Event>