public class ResultSetStream extends Object implements ResultSet
| Constructor and Description |
|---|
ResultSetStream(List<String> resultVars,
Model m,
Iterator<Binding> iter) |
| Modifier and Type | Method and Description |
|---|---|
Model |
getModel() |
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" - a count of the number of possibilities returned so far.
|
boolean |
hasNext()
Is there another possibility?
|
QuerySolution |
next()
Moves onto the next result possibility.
|
Binding |
nextBinding()
Move to the next binding (low level)
|
QuerySolution |
nextSolution()
Moves onto the next result possibility.
|
void |
remove() |
public void remove()
throws UnsupportedOperationException
remove in interface Iterator<QuerySolution>UnsupportedOperationException - Always thrown.public boolean hasNext()
hasNext in interface ResultSethasNext in interface Iterator<QuerySolution>public Binding nextBinding()
ResultSetnextBinding in interface ResultSetpublic QuerySolution nextSolution()
nextSolution in interface ResultSetpublic QuerySolution next()
next in interface ResultSetnext in interface Iterator<QuerySolution>public int getRowNumber()
getRowNumber in interface ResultSetpublic List<String> getResultVars()
getResultVars in interface ResultSetpublic Model getModel()
public Model getResourceModel()
ResultSetgetResourceModel in interface ResultSetLicenced under the Apache License, Version 2.0