java.lang.Object
org.apache.jena.sparql.resultset.ResultSetMem
org.apache.jena.sparql.resultset.RDFInput
- All Implemented Interfaces:
Iterator<QuerySolution>,ResultSet,ResultSetRewindable,ResultSetPeekable
-
Constructor Summary
ConstructorsConstructorDescriptionRDFInput(org.apache.jena.rdf.model.Model model) Process a result set encoded in RDF according to@link{http://www.w3.org/2001/sw/DataAccess/tests/result-set}# -
Method Summary
Methods inherited from class org.apache.jena.sparql.resultset.ResultSetMem
close, forEachRemaining, getResourceModel, getResultVars, getRowNumber, hasNext, next, nextBinding, nextSolution, peek, peekBinding, reset, rewind, sizeMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.jena.query.ResultSet
materialise, rewindable
-
Constructor Details
-
RDFInput
public RDFInput(org.apache.jena.rdf.model.Model model) Process a result set encoded in RDF according to@link{http://www.w3.org/2001/sw/DataAccess/tests/result-set}#- Parameters:
model-
-
-
Method Details
-
fromRDF
Turns an RDF model, with properties and classes from the result set vocabulary, into a SPARQL result set. The result set formed is a copy in memory.- Parameters:
model-- Returns:
- ResultSet
-