|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hp.hpl.jena.query.ResultSetFactory
public class ResultSetFactory
ResultSetFactory - make result sets from places other than a query.
Constructor Summary | |
---|---|
ResultSetFactory()
|
Method Summary | |
---|---|
static com.hp.hpl.jena.query.resultset.ResultSetRewindable |
copyResults(ResultSet results)
Take a copy of a result set - the result set returns is an in-memory copy. |
static ResultSet |
fromRDF(com.hp.hpl.jena.rdf.model.Model model)
Turns an RDF model, with properties and classses from the result set vocabulary, into a SPARQL result set. |
static ResultSet |
fromXML(java.io.InputStream in)
Read XML which is the format of the SPARQL result set format. |
static ResultSet |
load(java.lang.String filenameOrURI)
Load a result set from file or URL into a result set (memory backed). |
static ResultSet |
load(java.lang.String filenameOrURI,
com.hp.hpl.jena.query.resultset.ResultSetFormat format)
Load a result set from file or URL into a result set (memory backed). |
static com.hp.hpl.jena.rdf.model.Model |
loadAsModel(java.lang.String filenameOrURI)
Load a result set (or any other model) from file or URL |
static com.hp.hpl.jena.rdf.model.Model |
loadAsModel(java.lang.String filenameOrURI,
com.hp.hpl.jena.query.resultset.ResultSetFormat format)
Load a result set (or any other model) from file or URL |
static ResultSet |
makeResults(com.hp.hpl.jena.rdf.model.Model model)
Turns an RDF model, with properties and classses from the result set vocabulary, into a SPARQL result set. |
static com.hp.hpl.jena.query.resultset.ResultSetRewindable |
makeRewindable(com.hp.hpl.jena.rdf.model.Model model)
Turns an RDF model, with properties and classses from the result set vocabulary, into a SPARQL result set which is rewindable (has a .reset()operation). |
static com.hp.hpl.jena.query.resultset.ResultSetRewindable |
makeRewindable(ResultSet resultSet)
Turn an existing result set into a rewindable one. |
static ResultSet |
makeSorted(ResultSet resultSet,
java.util.List conditions)
Sort an existing result set. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResultSetFactory()
Method Detail |
---|
public static ResultSet load(java.lang.String filenameOrURI)
filenameOrURI
-
public static ResultSet load(java.lang.String filenameOrURI, com.hp.hpl.jena.query.resultset.ResultSetFormat format)
filenameOrURI
- format
-
public static com.hp.hpl.jena.rdf.model.Model loadAsModel(java.lang.String filenameOrURI)
filenameOrURI
-
public static com.hp.hpl.jena.rdf.model.Model loadAsModel(java.lang.String filenameOrURI, com.hp.hpl.jena.query.resultset.ResultSetFormat format)
filenameOrURI
- format
-
public static ResultSet fromXML(java.io.InputStream in)
in
- InputStream
public static ResultSet fromRDF(com.hp.hpl.jena.rdf.model.Model model)
model
-
public static ResultSet makeResults(com.hp.hpl.jena.rdf.model.Model model)
model
-
public static com.hp.hpl.jena.query.resultset.ResultSetRewindable makeRewindable(com.hp.hpl.jena.rdf.model.Model model)
model
-
public static com.hp.hpl.jena.query.resultset.ResultSetRewindable makeRewindable(ResultSet resultSet)
resultSet
-
public static ResultSet makeSorted(ResultSet resultSet, java.util.List conditions)
resultSet
- conditions
-
public static com.hp.hpl.jena.query.resultset.ResultSetRewindable copyResults(ResultSet results)
results
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |