virtuoso.sesame2.driver
Class VirtuosoRepositoryConnection.CloseableIterationBase<E,X extends java.lang.Exception>

java.lang.Object
  extended by virtuoso.sesame2.driver.VirtuosoRepositoryConnection.CloseableIterationBase<E,X>
All Implemented Interfaces:
info.aduna.iteration.CloseableIteration<E,X>, info.aduna.iteration.Iteration<E,X>
Direct Known Subclasses:
VirtuosoRepositoryConnection.CloseableIterationBindingSet, VirtuosoRepositoryConnection.CloseableIterationGraphResult, VirtuosoRepositoryConnection.CloseableIterationStmt
Enclosing class:
VirtuosoRepositoryConnection

public class VirtuosoRepositoryConnection.CloseableIterationBase<E,X extends java.lang.Exception>
extends java.lang.Object
implements info.aduna.iteration.CloseableIteration<E,X>


Constructor Summary
VirtuosoRepositoryConnection.CloseableIterationBase(java.sql.ResultSet rs, org.openrdf.model.Resource subject, org.openrdf.model.URI predicate, org.openrdf.model.Value object)
           
 
Method Summary
 void close()
           
protected  void extractRow()
           
protected  void finalize()
           
 boolean hasNext()
           
protected  void moveForward()
           
 E next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VirtuosoRepositoryConnection.CloseableIterationBase

public VirtuosoRepositoryConnection.CloseableIterationBase(java.sql.ResultSet rs,
                                                           org.openrdf.model.Resource subject,
                                                           org.openrdf.model.URI predicate,
                                                           org.openrdf.model.Value object)
Method Detail

hasNext

public boolean hasNext()
                throws X extends java.lang.Exception
Specified by:
hasNext in interface info.aduna.iteration.Iteration<E,X extends java.lang.Exception>
Throws:
X extends java.lang.Exception

next

public E next()
       throws X extends java.lang.Exception
Specified by:
next in interface info.aduna.iteration.Iteration<E,X extends java.lang.Exception>
Throws:
X extends java.lang.Exception

remove

public void remove()
            throws X extends java.lang.Exception
Specified by:
remove in interface info.aduna.iteration.Iteration<E,X extends java.lang.Exception>
Throws:
X extends java.lang.Exception

close

public void close()
           throws X extends java.lang.Exception
Specified by:
close in interface info.aduna.iteration.CloseableIteration<E,X extends java.lang.Exception>
Throws:
X extends java.lang.Exception

finalize

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

moveForward

protected void moveForward()
                    throws X extends java.lang.Exception
Throws:
X extends java.lang.Exception

extractRow

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