throws SQLException {
super(statement, qe, commit);
if (ts == null)
throw new SQLException("Triple Iterator cannot be null");
this.triples = PeekIterator.create(ts);
this.metadata = statement.getJenaConnection().applyPostProcessors(new TripleResultsMetadata(this, this.triples));
this.numColumns = this.metadata.getColumnCount();
this.subjColumn = this.metadata.getSubjectColumnLabel();
this.predColumn = this.metadata.getPredicateColumnLabel();
this.objColumn = this.metadata.getObjectColumnLabel();
}