virtuoso.jena.driver
Class VirtResSetIter

java.lang.Object
  extended by com.hp.hpl.jena.util.iterator.NiceIterator<com.hp.hpl.jena.graph.Triple>
      extended by virtuoso.jena.driver.VirtResSetIter
All Implemented Interfaces:
com.hp.hpl.jena.util.iterator.ClosableIterator<com.hp.hpl.jena.graph.Triple>, com.hp.hpl.jena.util.iterator.ExtendedIterator<com.hp.hpl.jena.graph.Triple>, java.util.Iterator<com.hp.hpl.jena.graph.Triple>

public class VirtResSetIter
extends com.hp.hpl.jena.util.iterator.NiceIterator<com.hp.hpl.jena.graph.Triple>


Field Summary
protected  boolean v_finished
           
protected  VirtGraph v_graph
           
protected  com.hp.hpl.jena.graph.TripleMatch v_in
           
protected  boolean v_prefetched
           
protected  java.sql.ResultSet v_resultSet
           
protected  com.hp.hpl.jena.graph.Triple v_row
           
 
Constructor Summary
VirtResSetIter()
           
VirtResSetIter(VirtGraph graph, java.sql.ResultSet resultSet, com.hp.hpl.jena.graph.TripleMatch in)
           
 
Method Summary
 void close()
           
protected  void extractRow()
           
protected  void finalize()
           
protected  com.hp.hpl.jena.graph.Triple getRow()
           
 boolean hasNext()
           
protected  void moveForward()
           
 com.hp.hpl.jena.graph.Triple next()
           
 void remove()
           
 com.hp.hpl.jena.graph.Triple removeNext()
           
 void reset(java.sql.ResultSet resultSet, java.sql.PreparedStatement sourceStatement)
           
 
Methods inherited from class com.hp.hpl.jena.util.iterator.NiceIterator
andThen, andThen, asList, asSet, close, emptyIterator, ensureHasNext, filterDrop, filterKeep, mapWith, noElements, toList, toSet
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

v_resultSet

protected java.sql.ResultSet v_resultSet

v_row

protected com.hp.hpl.jena.graph.Triple v_row

v_in

protected com.hp.hpl.jena.graph.TripleMatch v_in

v_finished

protected boolean v_finished

v_prefetched

protected boolean v_prefetched

v_graph

protected VirtGraph v_graph
Constructor Detail

VirtResSetIter

public VirtResSetIter()

VirtResSetIter

public VirtResSetIter(VirtGraph graph,
                      java.sql.ResultSet resultSet,
                      com.hp.hpl.jena.graph.TripleMatch in)
Method Detail

reset

public void reset(java.sql.ResultSet resultSet,
                  java.sql.PreparedStatement sourceStatement)

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<com.hp.hpl.jena.graph.Triple>
Overrides:
hasNext in class com.hp.hpl.jena.util.iterator.NiceIterator<com.hp.hpl.jena.graph.Triple>

removeNext

public com.hp.hpl.jena.graph.Triple removeNext()
Specified by:
removeNext in interface com.hp.hpl.jena.util.iterator.ExtendedIterator<com.hp.hpl.jena.graph.Triple>
Overrides:
removeNext in class com.hp.hpl.jena.util.iterator.NiceIterator<com.hp.hpl.jena.graph.Triple>

next

public com.hp.hpl.jena.graph.Triple next()
Specified by:
next in interface java.util.Iterator<com.hp.hpl.jena.graph.Triple>
Overrides:
next in class com.hp.hpl.jena.util.iterator.NiceIterator<com.hp.hpl.jena.graph.Triple>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<com.hp.hpl.jena.graph.Triple>
Overrides:
remove in class com.hp.hpl.jena.util.iterator.NiceIterator<com.hp.hpl.jena.graph.Triple>

moveForward

protected void moveForward()

extractRow

protected void extractRow()
                   throws java.lang.Exception
Throws:
java.lang.Exception

getRow

protected com.hp.hpl.jena.graph.Triple getRow()

close

public void close()
Specified by:
close in interface com.hp.hpl.jena.util.iterator.ClosableIterator<com.hp.hpl.jena.graph.Triple>
Overrides:
close in class com.hp.hpl.jena.util.iterator.NiceIterator<com.hp.hpl.jena.graph.Triple>

finalize

protected void finalize()
                 throws java.sql.SQLException
Overrides:
finalize in class java.lang.Object
Throws:
java.sql.SQLException