|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hp.hpl.jena.sparql.resultset.ResultSetPeeking
public class ResultSetPeeking
A wrapper around another result set that provides peek capabilities
| Field Summary | |
|---|---|
static boolean |
warnOnSyncErrors
Controls whether a log warning is printed if someone modifies the underlying result set externally to us |
| Constructor Summary | |
|---|---|
ResultSetPeeking(ResultSet results)
Creates a peeking wrapper around another result set |
|
| Method Summary | |
|---|---|
void |
close()
|
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()). |
QuerySolution |
peek()
Peek at the next query solution |
Binding |
peekBinding()
Peek at the next binding |
void |
remove()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static boolean warnOnSyncErrors
| Constructor Detail |
|---|
public ResultSetPeeking(ResultSet results)
results - Inner results| 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 QuerySolution nextSolution()
ResultSet
nextSolution in interface ResultSetpublic Binding nextBinding()
ResultSet
nextBinding in interface ResultSetpublic int getRowNumber()
ResultSet
getRowNumber in interface ResultSetpublic List<String> getResultVars()
ResultSet
getResultVars in interface ResultSetpublic Model getResourceModel()
ResultSet
getResourceModel in interface ResultSetpublic void remove()
remove in interface Iterator<QuerySolution>public QuerySolution peek()
ResultSetPeekable
peek in interface ResultSetPeekablepublic Binding peekBinding()
ResultSetPeekable
peekBinding in interface ResultSetPeekablepublic void close()
close in interface Closeable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||