use of org.apache.jena.sparql.core.ResultBinding in project jena by apache.
the class ResultSetStream method nextSolution.
/** Moves onto the next result possibility.
* The returned object is actual the binding for this
* result.
*/
@Override
public QuerySolution nextSolution() {
if (queryExecutionIter == null)
// ( queryExecution != null && ! queryExecution.isActive() ) )
throw new NoSuchElementException(this.getClass() + ".next");
Binding binding = nextBinding();
currentQuerySolution = new ResultBinding(model, binding);
return currentQuerySolution;
}
Aggregations