org.openrdf.sail.rdbms.iteration
Class RdbmsBindingIteration

java.lang.Object
  extended by org.openrdf.sail.rdbms.iteration.base.RdbmIterationBase<BindingSet,QueryEvaluationException>
      extended by org.openrdf.sail.rdbms.iteration.RdbmsBindingIteration
All Implemented Interfaces:
CloseableIteration<BindingSet,QueryEvaluationException>, Iteration<BindingSet,QueryEvaluationException>

public class RdbmsBindingIteration
extends RdbmIterationBase<BindingSet,QueryEvaluationException>

Converts a ResultSet into a BindingSet in an iteration.

Author:
James Leigh

Constructor Summary
RdbmsBindingIteration(PreparedStatement stmt)
           
 
Method Summary
protected  BindingSet convert(ResultSet rs)
           
protected  QueryEvaluationException convertSQLException(SQLException e)
           
 void setBindings(BindingSet bindings)
           
 void setIdSequence(IdSequence ids)
           
 void setProjections(Collection<ColumnVar> proj)
           
 void setValueFactory(RdbmsValueFactory vf)
           
 
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

RdbmsBindingIteration

public RdbmsBindingIteration(PreparedStatement stmt)
                      throws SQLException
Throws:
SQLException
Method Detail

setBindings

public void setBindings(BindingSet bindings)

setProjections

public void setProjections(Collection<ColumnVar> proj)

setValueFactory

public void setValueFactory(RdbmsValueFactory vf)

setIdSequence

public void setIdSequence(IdSequence ids)

convert

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

convertSQLException

protected QueryEvaluationException convertSQLException(SQLException e)
Specified by:
convertSQLException in class RdbmIterationBase<BindingSet,QueryEvaluationException>


Copyright © 2001-2012 Aduna. All Rights Reserved.