public interface ResultSet extends Iterator<QuerySolution>
Query
,
QueryExecution
,
QuerySolution
Modifier and Type | Method and Description |
---|---|
Model |
getResourceModel()
Get the model that resources are created against - may be null
|
List<String> |
getResultVars()
Get the variable names for the projection.
|
int |
getRowNumber()
Return the "row" number for the current iterator item
|
boolean |
hasNext()
Is there another result?
|
QuerySolution |
next()
Moves onto the next result.
|
Binding |
nextBinding()
Move to the next binding (low level)
|
QuerySolution |
nextSolution()
Moves onto the next result (legacy - use .next()).
|
boolean hasNext()
hasNext
in interface Iterator<QuerySolution>
QuerySolution next()
next
in interface Iterator<QuerySolution>
QuerySolution nextSolution()
Binding nextBinding()
int getRowNumber()
List<String> getResultVars()
Model getResourceModel()
Licenced under the Apache License, Version 2.0