|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.hp.hpl.jena.rdf.query.QueryResults
Results from a query in a "ResultSet"-like manner. Each row corresponds to a set of bindings which fulfil the conditions of the query. Access to the results is by variable name.
Query,
QueryEngine| Constructor Summary | |
QueryResults(Query query,
QueryExecution qe,
java.util.Iterator iter)
|
|
| Method Summary | |
void |
close()
Close the results iterator and stop query evaluation as soon as convenient. |
java.util.List |
getAll()
Convenience function to consume a query. |
java.lang.String |
getBinding(java.lang.String name)
Access a binding (a mapping from variable name to value). |
java.util.List |
getResultVars()
Get the variable names for the projection |
int |
getRowNumber()
Return the "row number" - a count of the number of possibilities returned so far. |
boolean |
hasNext()
Is there another possibility? |
java.lang.Object |
next()
Moves onto the next result possibility. |
void |
remove()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public QueryResults(Query query,
QueryExecution qe,
java.util.Iterator iter)
| Method Detail |
public void remove()
throws java.lang.UnsupportedOperationException
remove in interface java.util.Iteratorjava.lang.UnsupportedOperationException - Always thrown.public boolean hasNext()
hasNext in interface java.util.Iteratorpublic java.lang.Object next()
next in interface java.util.Iteratorpublic void close()
public java.lang.String getBinding(java.lang.String name)
public int getRowNumber()
public java.util.List getResultVars()
public java.util.List getAll()
ResultBindings.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||