com.hp.hpl.jena.query
Interface ResultSetRewindable

All Superinterfaces:
java.util.Iterator<QuerySolution>, ResultSet, com.hp.hpl.jena.sparql.resultset.ResultSetRewindable

public interface ResultSetRewindable
extends com.hp.hpl.jena.sparql.resultset.ResultSetRewindable


Method Summary
 void reset()
          Move back to the start of the iterator for this instance of results of a query.
 int size()
          return the number of solutions
 
Methods inherited from interface com.hp.hpl.jena.query.ResultSet
getResourceModel, getResultVars, getRowNumber, hasNext, next, nextBinding, nextSolution
 
Methods inherited from interface java.util.Iterator
remove
 

Method Detail

reset

void reset()
Move back to the start of the iterator for this instance of results of a query.

Specified by:
reset in interface com.hp.hpl.jena.sparql.resultset.ResultSetRewindable

size

int size()
return the number of solutions

Specified by:
size in interface com.hp.hpl.jena.sparql.resultset.ResultSetRewindable


Copyright © 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP