public class SortedResultSet extends Object implements ResultSet
| Constructor and Description |
|---|
SortedResultSet(ResultSet rs,
List<SortCondition> conditions) |
| Modifier and Type | Method and Description |
|---|---|
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() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic SortedResultSet(ResultSet rs, List<SortCondition> conditions)
public boolean hasNext()
ResultSethasNext in interface Iterator<QuerySolution>hasNext in interface ResultSetpublic QuerySolution next()
ResultSetnext in interface Iterator<QuerySolution>next in interface ResultSetpublic Binding nextBinding()
ResultSetnextBinding in interface ResultSetpublic QuerySolution nextSolution()
ResultSetnextSolution in interface ResultSetpublic int getRowNumber()
ResultSetgetRowNumber in interface ResultSetpublic List<String> getResultVars()
ResultSetgetResultVars in interface ResultSetpublic boolean isOrdered()
public Model getResourceModel()
ResultSetgetResourceModel in interface ResultSetpublic void remove()
remove in interface Iterator<QuerySolution>Licenced under the Apache License, Version 2.0