public class ResultSetWrapper extends Object implements ResultSet
ResultSet (probably to modify operations on it).| Constructor and Description |
|---|
ResultSetWrapper(ResultSet rs) |
| 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?
|
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()).
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removepublic ResultSetWrapper(ResultSet rs)
public boolean hasNext()
ResultSethasNext in interface Iterator<QuerySolution>hasNext in interface ResultSetpublic QuerySolution next()
ResultSetnext in interface Iterator<QuerySolution>next in interface ResultSetpublic QuerySolution nextSolution()
ResultSetnextSolution in interface ResultSetpublic Binding nextBinding()
ResultSetnextBinding in interface ResultSetpublic int getRowNumber()
ResultSetgetRowNumber in interface ResultSetpublic List<String> getResultVars()
ResultSetgetResultVars in interface ResultSetpublic Model getResourceModel()
ResultSetgetResourceModel in interface ResultSetLicenced under the Apache License, Version 2.0