|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.hp.hpl.jena.rdf.query.QueryResultsMem
| Constructor Summary | |
QueryResultsMem(QueryResults qr)
Create an in-memory result set from any QueryResults object. |
|
QueryResultsMem(QueryResultsMem imrs2)
|
|
QueryResultsMem(QueryResultsMem imrs2,
boolean takeCopy)
|
|
QueryResultsMem(java.io.Reader reader)
|
|
QueryResultsMem(java.lang.String urlStr)
|
|
| Method Summary | |
void |
close()
Close the results set. |
static boolean |
equivalent(QueryResultsMem irs1,
QueryResultsMem irs2)
|
java.util.List |
getAll()
Deprecated. Old QueryResults operation |
java.util.List |
getResultVars()
Get the variable names for the projection |
int |
getRowNumber()
Return the "row" number for the current iterator item |
boolean |
hasNext()
Is there another possibility? |
void |
list(java.io.PrintWriter pw)
Print out the result set in dump format. |
java.lang.Object |
next()
Moves onto the next result possibility. |
void |
remove()
|
void |
reset()
|
int |
size()
Return the number of rows |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public QueryResultsMem(QueryResultsMem imrs2)
public QueryResultsMem(QueryResultsMem imrs2,
boolean takeCopy)
public QueryResultsMem(QueryResults qr)
public QueryResultsMem(java.io.Reader reader)
public QueryResultsMem(java.lang.String urlStr)
throws java.io.FileNotFoundException
| Method Detail |
public void remove()
throws java.lang.UnsupportedOperationException
remove in interface QueryResultsjava.lang.UnsupportedOperationException - Always thrown.public boolean hasNext()
hasNext in interface QueryResultspublic java.lang.Object next()
next in interface QueryResultspublic void close()
close in interface QueryResultspublic void reset()
public int getRowNumber()
getRowNumber in interface QueryResultspublic int size()
public java.util.List getResultVars()
getResultVars in interface QueryResultspublic java.util.List getAll()
ResultBindings.
getAll in interface QueryResults
public static boolean equivalent(QueryResultsMem irs1,
QueryResultsMem irs2)
public void list(java.io.PrintWriter pw)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||