RE: jena and StmtIterator is time consuming operation

2011-03-21 Thread Khandeshi, Ami D
I am not clear, how I can reply to the thread. Thanks Andy for your below response. What kind of dataset are you querying? Often, much of th work is done on first call of .hasNext and .execSelect is just setup. You can do: ResultSet results = qexec.execSelect(); qexec.hasNext() ;

Re: jena and StmtIterator is time consuming operation

2011-03-18 Thread Andy Seaborne
What kind of dataset are you querying? Often, much of th work is done on first call of .hasNext and .execSelect is just setup. You can do: ResultSet results = qexec.execSelect(); qexec.hasNext() ; as hasNext() is (as is correct for iterators) idempotent between calls of .next. Results ar