|
||||||||||
| 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 | |
|---|---|
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 ResultSethasNext in interface Iterator<QuerySolution>public QuerySolution next()
ResultSet
next in interface ResultSetnext in interface Iterator<QuerySolution>public Binding nextBinding()
ResultSet
nextBinding in interface ResultSetpublic QuerySolution nextSolution()
ResultSet
nextSolution in interface ResultSetpublic int getRowNumber()
ResultSet
getRowNumber in interface ResultSetpublic List<String> getResultVars()
ResultSet
getResultVars in interface ResultSetpublic boolean isOrdered()
public Model getResourceModel()
ResultSet
getResourceModel in interface ResultSetpublic void remove()
remove in interface Iterator<QuerySolution>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||