|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.hp.hpl.jena.rdql.QueryResultsMem
| Constructor Summary | |
QueryResultsMem(Model model)
Prcoess a result set encoded in RDF according to http://jena.hpl.hp.com/2003/03/result-set# |
|
QueryResultsMem(QueryResults qr)
Create an in-memory result set from any QueryResults object. |
|
QueryResultsMem(QueryResultsMem imrs2)
Create an in-memory result set from another one |
|
QueryResultsMem(QueryResultsMem imrs2,
boolean takeCopy)
Create an in-memory result set from another one |
|
QueryResultsMem(java.lang.String urlStr)
Read in a result set encoded in RDF according to http://jena.hpl.hp.com/2003/03/result-set# |
|
| Method Summary | |
Resource |
asRDF(Model model)
Encode the result set as RDF in the model provided. |
void |
close()
Close the results set. |
static boolean |
equivalent(QueryResultsMem irs1,
QueryResultsMem irs2)
Are two result sets the same (isomorphic)? |
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()
|
void |
rewind()
Move back to the start of the iterator for this instance of results of a query. |
int |
size()
Return the number of rows |
Model |
toModel()
Encode the result set as RDF. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public QueryResultsMem(QueryResultsMem imrs2)
imrs2 - The other QueryResultsMem object
public QueryResultsMem(QueryResultsMem imrs2,
boolean takeCopy)
imrs2 - The other QueryResultsMem objecttakeCopy - Should we copy the rows?public QueryResultsMem(QueryResults qr)
public QueryResultsMem(Model model)
http://jena.hpl.hp.com/2003/03/result-set#
model -
public QueryResultsMem(java.lang.String urlStr)
throws java.io.FileNotFoundException
http://jena.hpl.hp.com/2003/03/result-set#
urlStr - URL string| 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 rewind()
QueryResultsRewindable
rewind in interface QueryResultsRewindablepublic 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)
irs1 - irs2 -
public Model toModel()
public Resource asRDF(Model model)
model - The place where to put the RDF.
public void list(java.io.PrintWriter pw)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||