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 ResultSet
hasNext
in interface Iterator<QuerySolution>
public Binding nextBinding()
ResultSet
nextBinding
in interface ResultSet
public QuerySolution nextSolution()
nextSolution
in interface ResultSet
public QuerySolution next()
next
in interface ResultSet
next
in interface Iterator<QuerySolution>
public int getRowNumber()
getRowNumber
in interface ResultSet
public List<String> getResultVars()
getResultVars
in interface ResultSet
public Model getModel()
public Model getResourceModel()
ResultSet
getResourceModel
in interface ResultSet
Licenced under the Apache License, Version 2.0