org.openrdf.sail.rdbms.iteration
Class RdbmsStatementIteration

java.lang.Object
  extended by org.openrdf.sail.rdbms.iteration.base.RdbmIterationBase<RdbmsStatement,SailException>
      extended by org.openrdf.sail.rdbms.iteration.RdbmsStatementIteration
All Implemented Interfaces:
CloseableIteration<RdbmsStatement,SailException>, Iteration<RdbmsStatement,SailException>
Direct Known Subclasses:
EmptyRdbmsStatementIteration

public class RdbmsStatementIteration
extends RdbmIterationBase<RdbmsStatement,SailException>

Converts a ResultSet into a RdbmsStatement in an iteration.

Author:
James Leigh

Constructor Summary
RdbmsStatementIteration(RdbmsValueFactory vf, PreparedStatement stmt, IdSequence ids)
           
 
Method Summary
protected  RdbmsStatement convert(ResultSet rs)
           
protected  RdbmsException convertSQLException(SQLException e)
           
 
Methods inherited from class org.openrdf.sail.rdbms.iteration.base.RdbmIterationBase
close, hasNext, next, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RdbmsStatementIteration

public RdbmsStatementIteration(RdbmsValueFactory vf,
                               PreparedStatement stmt,
                               IdSequence ids)
                        throws SQLException
Throws:
SQLException
Method Detail

convert

protected RdbmsStatement convert(ResultSet rs)
                          throws SQLException
Specified by:
convert in class RdbmIterationBase<RdbmsStatement,SailException>
Throws:
SQLException

convertSQLException

protected RdbmsException convertSQLException(SQLException e)
Specified by:
convertSQLException in class RdbmIterationBase<RdbmsStatement,SailException>


Copyright © 2001-2008 Aduna. All Rights Reserved.