|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hp.hpl.jena.sparql.resultset.SortedResultSet
public class SortedResultSet
Sort a result set.
Constructor Summary | |
---|---|
SortedResultSet(ResultSet rs,
List<SortCondition> conditions)
|
Method Summary | |
---|---|
com.hp.hpl.jena.rdf.model.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? |
boolean |
isOrdered()
|
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()). |
void |
remove()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SortedResultSet(ResultSet rs, List<SortCondition> conditions)
Method Detail |
---|
public boolean hasNext()
ResultSet
hasNext
in interface ResultSet
hasNext
in interface Iterator<QuerySolution>
public QuerySolution next()
ResultSet
next
in interface ResultSet
next
in interface Iterator<QuerySolution>
public Binding nextBinding()
ResultSet
nextBinding
in interface ResultSet
public QuerySolution nextSolution()
ResultSet
nextSolution
in interface ResultSet
public int getRowNumber()
ResultSet
getRowNumber
in interface ResultSet
public List<String> getResultVars()
ResultSet
getResultVars
in interface ResultSet
public boolean isOrdered()
public com.hp.hpl.jena.rdf.model.Model getResourceModel()
ResultSet
getResourceModel
in interface ResultSet
public void remove()
remove
in interface Iterator<QuerySolution>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |