|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ResultSet
Results from a query in a table-like manner for SELECT queries. Each row corresponds to a set of bindings which fulfil the conditions of the query. Access to the results is by variable name.
Query,
QueryExecution,
QuerySolution| Method Summary | |
|---|---|
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()). |
| Methods inherited from interface java.util.Iterator |
|---|
remove |
| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||