org.openrdf.sail.rdbms.iteration
Class RdbmsBindingIteration
java.lang.Object
org.openrdf.sail.rdbms.iteration.base.RdbmIterationBase<BindingSet,QueryEvaluationException>
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RdbmsBindingIteration
public RdbmsBindingIteration(PreparedStatement stmt)
throws SQLException
- Throws:
SQLException
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-2008 Aduna. All Rights Reserved.