Uses of Interface
org.apache.jena.query.ResultSet
Packages that use ResultSet
Package
Description
ARQ - A query engine for Jena, implementing SPARQL.
-
Uses of ResultSet in org.apache.jena.query
Subinterfaces of ResultSet in org.apache.jena.queryClasses in org.apache.jena.query that implement ResultSetModifier and TypeClassDescriptionclassMethods in org.apache.jena.query that return ResultSetModifier and TypeMethodDescriptionstatic ResultSetstatic ResultSetResultSetFactory.create(QueryIterator queryIterator, List<String> vars) Build a result set from one of ARQ's lower level query iterator.QueryExecution.execSelect()Execute a SELECT querystatic ResultSetResultSetFactory.fromJSON(InputStream in) Read from an input stream which is the format of the SPARQL result set format in JSON.static ResultSetResultSetFactory.fromXML(InputStream in) Read XML which is the format of the SPARQL result set format.static ResultSetResultSetFactory.load(InputStream input, ResultsFormat format) Load a result set from input stream into a result set (memory backed).static ResultSetLoad a result set from file or URL into a result set (memory backed).static ResultSetResultSetFactory.load(String filenameOrURI, ResultsFormat format) Load a result set from file or URL into a result set (memory backed).static ResultSetResultSetFactory.makeResults(org.apache.jena.rdf.model.Model model) Turns an RDF model, with properties and classes from the result set vocabulary, into a SPARQL result set.default ResultSetResultSet.materialise()Return aResultSetthat is not connected to the original source.default ResultSetQueryExecutionBuilder.select()Methods in org.apache.jena.query with parameters of type ResultSetModifier and TypeMethodDescriptionstatic StringReturn a string that has the result set serialized as a text tablestatic StringReturn a string that has the result set serialized as a text tablestatic StringResultSetFormatter.asXMLString(ResultSet qresults) Return a string that has the result set serialized as XML (not RDF)static StringResultSetFormatter.asXMLString(ResultSet qresults, String stylesheet) Return a string that has the result set serialized as XML (not RDF) with a style sheet directive inserted into the XML.static intThis operation faithfully walks the results but does nothing with them.static ResultSetRewindableResultSetFactory.copyResults(ResultSet results) Take a copy of a result set - the result set returns is an in-memory copy.static ResultSetPeekableResultSetFactory.makePeekable(ResultSet resultSet) Turns an existing result set into one with peeking capabilitiesstatic ResultSetRewindableResultSetFactory.makeRewindable(ResultSet resultSet) Turn an existing result set into a rewindable one.static voidResultSetFormatter.out(OutputStream out, ResultSet qresults) Output a result set in a text format.static voidResultSetFormatter.out(OutputStream out, ResultSet resultSet, org.apache.jena.shared.PrefixMapping pmap) Output a result set in a text format.static voidResultSetFormatter.out(OutputStream out, ResultSet resultSet, Prologue prologue) Output a result set in a text format.static voidOutput a result set in a text format.static voidOutput a result set in a text format.static voidOutput a result set in a text format.static voidOutput a result set in a text format.static voidResultSetFormatter.output(OutputStream outStream, ResultSet resultSet, Lang resultFormat) static voidResultSetFormatter.output(OutputStream outStream, ResultSet resultSet, ResultsFormat rFmt) Output a ResultSet in some format.static voidstatic voidResultSetFormatter.output(ResultSet resultSet, ResultsFormat rFmt) Output a ResultSet in some format.static voidResultSetFormatter.outputAsCSV(OutputStream outStream, ResultSet resultSet) Output a result set in CSV formatstatic voidResultSetFormatter.outputAsCSV(ResultSet resultSet) Output a result set in CSV formatstatic voidResultSetFormatter.outputAsJSON(OutputStream outStream, ResultSet resultSet) Output a result set in the JSON format Format: Serializing SPARQL Query Results in JSON JSON: http://json.org/static voidResultSetFormatter.outputAsJSON(ResultSet resultSet) Output a result set in the JSON format Format: Serializing SPARQL Query Results in JSON JSON: http://json.org/static voidResultSetFormatter.outputAsSSE(OutputStream outStream, ResultSet resultSet) Output a result set in the SSE format Format: SSEstatic voidResultSetFormatter.outputAsSSE(OutputStream outStream, ResultSet resultSet, Prologue prologue) Output a result set in the SSE format Format: SSEstatic voidResultSetFormatter.outputAsSSE(ResultSet resultSet) Output a result set in the SSE format Format: SSEstatic voidResultSetFormatter.outputAsSSE(ResultSet resultSet, Prologue prologue) Output a result set in the SSE format Format: SSEstatic voidResultSetFormatter.outputAsTSV(OutputStream outStream, ResultSet resultSet) Output a result set in TSV formatstatic voidResultSetFormatter.outputAsTSV(ResultSet resultSet) Output a result set in TSV formatstatic voidResultSetFormatter.outputAsXML(OutputStream outStream, ResultSet qresults) Output a result set in the XML formatstatic voidResultSetFormatter.outputAsXML(OutputStream outStream, ResultSet qresults, String stylesheet) Output a result set in the XML format, inserting a style sheet in the XML outputstatic voidResultSetFormatter.outputAsXML(ResultSet qresults) Output a result set in the XML formatstatic voidResultSetFormatter.outputAsXML(ResultSet qresults, String stylesheet) Output a result set in the XML format, inserting a style sheet in the XML outputstatic List<QuerySolution>Turn the result set into a java.util.ListConstructors in org.apache.jena.query with parameters of type ResultSetModifierConstructorDescriptionResultSetCloseable(ResultSet rs, QueryExecution qexec) Deprecated.The constructor will become private. -
Uses of ResultSet in org.apache.jena.riot
Methods in org.apache.jena.riot that return ResultSetModifier and TypeMethodDescriptionstatic ResultSetRead ResultSet.static ResultSetResultSetMgr.read(InputStream input) Read from aURL(including filenames) and produce aResultSet.static ResultSetResultSetMgr.read(InputStream input, Lang lang) static ResultSetRead from aURL(including filenames) and produce aResultSet.static ResultSetRead from aURL(including filenames) and produce aResultSet; the stream is expect to use syntaxlang.Methods in org.apache.jena.riot with parameters of type ResultSetModifier and TypeMethodDescriptionstatic StringGenerate a string in the specified language/syntax for a SPARQL result set.static voidResultSetMgr.write(OutputStream output, ResultSet resultSet, Lang lang) Write a SPARQL result set to the output stream in the specified language/syntax. -
Uses of ResultSet in org.apache.jena.riot.resultset
Classes in org.apache.jena.riot.resultset that implement ResultSetModifier and TypeClassDescriptionclassPerform an action on a result set when iteration finishes orclose()is called.Methods in org.apache.jena.riot.resultset that return ResultSetModifier and TypeMethodDescriptiondefault ResultSetResultSetReader.read(InputStream in, Context context) Read from anInputStreamand produce aResultSet.default ResultSetUsingResultSetReader.read(InputStream, Context)is preferred.Methods in org.apache.jena.riot.resultset with parameters of type ResultSetModifier and TypeMethodDescriptionvoidResultSetWriter.write(OutputStream out, ResultSet resultSet, Context context) Write the ResultSet to the OutputStreamvoidUsingResultSetWriter.write(OutputStream, ResultSet, Context)is preferred.Constructors in org.apache.jena.riot.resultset with parameters of type ResultSet -
Uses of ResultSet in org.apache.jena.sparql.engine
Classes in org.apache.jena.sparql.engine that implement ResultSetModifier and TypeClassDescriptionclassDeprecated, for removal: This API element is subject to removal in a future version.To be removed.classThe main ResultSet implementation for returning results from queries.Methods in org.apache.jena.sparql.engine that return ResultSetModifier and TypeMethodDescriptionstatic ResultSetResultSetStream.create(List<String> resultVars, org.apache.jena.rdf.model.Model m, Iterator<Binding> iter) Create a streaming ResultSet, with resources sharing a common Modelstatic ResultSetCreate aResultSetfrom a List<Var> and an Iterator<Binding>.Constructors in org.apache.jena.sparql.engine with parameters of type ResultSetModifierConstructorDescriptionResultSetCheckCondition(ResultSet other, QueryExecution qExec) Deprecated, for removal: This API element is subject to removal in a future version.ResultSetCheckCondition(ResultSet other, org.apache.jena.sparql.engine.ResultSetCheckCondition.Condition condition) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of ResultSet in org.apache.jena.sparql.engine.iterator
Constructors in org.apache.jena.sparql.engine.iterator with parameters of type ResultSet -
Uses of ResultSet in org.apache.jena.sparql.exec
Classes in org.apache.jena.sparql.exec that implement ResultSetMethods in org.apache.jena.sparql.exec that return ResultSetModifier and TypeMethodDescriptionQueryExecutionAdapter.execSelect()Execute a SELECT queryQueryExecutionCompat.execSelect()RowSetAdapter.get()Methods in org.apache.jena.sparql.exec with parameters of type ResultSetConstructors in org.apache.jena.sparql.exec with parameters of type ResultSet -
Uses of ResultSet in org.apache.jena.sparql.resultset
Subinterfaces of ResultSet in org.apache.jena.sparql.resultsetModifier and TypeInterfaceDescriptioninterfaceInterfaces for result sets that allow peeking aheadClasses in org.apache.jena.sparql.resultset that implement ResultSetModifier and TypeClassDescriptionclassclassA result set held in-memory. rewindable.classA wrapper around another result set that provides peek capabilitiesclassWrap anotherResultSet(probably to modify operations on it).Methods in org.apache.jena.sparql.resultset that return ResultSetModifier and TypeMethodDescriptionstatic ResultSetRDFInput.fromRDF(org.apache.jena.rdf.model.Model model) Turns an RDF model, with properties and classes from the result set vocabulary, into a SPARQL result set.SPARQLResult.getResultSet()ResultsReader.Builder.read(InputStream input) Short form equivalent to.build().read(InputStreams)Short form equivalent to.build().read(url)ResultsReader.read(InputStream input) Read a result set from anInputStream.Read a result set from a URL or filename.Methods in org.apache.jena.sparql.resultset with parameters of type ResultSetModifier and TypeMethodDescriptionstatic voidResultSetApply.apply(ResultSet rs, ResultSetProcessor proc) org.apache.jena.rdf.model.ModelEncode the result set as RDF.org.apache.jena.rdf.model.ResourceEncode the result set as RDF in the model provided.org.apache.jena.rdf.model.ResourceRDFOutput.asRDF(org.apache.jena.rdf.model.Model model, ResultSet resultSet, boolean includeRowIndex) Turn into a stringstatic org.apache.jena.rdf.model.ModelRDFOutput.encodeAsModel(ResultSet resultSet) Encode the result set as RDF.static org.apache.jena.rdf.model.ResourceRDFOutput.encodeAsRDF(org.apache.jena.rdf.model.Model model, ResultSet resultSet) Encode the result set as RDF in the model provided.static booleanResultsCompare.equalsByTerm(ResultSet rs1, ResultSet rs2) Compare two result sets for equivalence where nodes are compared by beign the same term..static booleanResultSetCompare.equalsByTerm(ResultSet rs1, ResultSet rs2) Deprecated, for removal: This API element is subject to removal in a future version.Compare two result sets for equivalence.static booleanResultsCompare.equalsByTermAndOrder(ResultSet rs1, ResultSet rs2) Compare two result sets for equivalence.static booleanResultSetCompare.equalsByTermAndOrder(ResultSet rs1, ResultSet rs2) Deprecated, for removal: This API element is subject to removal in a future version.compare two result sets for equivalence.static booleanResultsCompare.equalsByValue(ResultSet rs1, ResultSet rs2) Compare two result sets for equivalence where nodes are compared by value.static booleanResultSetCompare.equalsByValue(ResultSet rs1, ResultSet rs2) Deprecated, for removal: This API element is subject to removal in a future version.Compare two result sets for equivalence.static booleanResultsCompare.equalsByValueAndOrder(ResultSet rs1, ResultSet rs2) Compare two result sets for equivalence.static booleanResultSetCompare.equalsByValueAndOrder(ResultSet rs1, ResultSet rs2) Deprecated, for removal: This API element is subject to removal in a future version.Compare two result sets for equivalence.static booleanResultsCompare.equalsExact(ResultSet rs1, ResultSet rs2) Compare two result sets for exact equality equivalence.static booleanResultSetCompare.equalsExact(ResultSet rs1, ResultSet rs2) Deprecated, for removal: This API element is subject to removal in a future version.Compare two result sets for exact equality equivalence and order.voidvoidFinish result setvoidOutputFormatter.format(OutputStream out, ResultSet resultSet) Format a result set - output on the given streamstatic booleanResultSetCompare.isomorphic(ResultSet rs1, ResultSet rs2) Deprecated, for removal: This API element is subject to removal in a future version.static booleanResultsFormat.oldWrite(OutputStream out, ResultsFormat outputFormat, Prologue prologue, ResultSet resultSet) Write aResultSetin various old style formats no longer recommended.static voidRDFOutput.outputAsRDF(OutputStream outStream, String format, ResultSet resultSet) Write out an RDF model that encodes the result setstatic voidRDFOutput.outputAsRDF(String format, ResultSet resultSet) Write out an RDF model that encodes the result setvoidvoidStart result setvoidResultsWriter.Builder.write(OutputStream output, ResultSet resultSet) Short form equivalent tobuild().write(OutputStream, ResultSet)voidShort form equivalent tobuild().write(url, ResultSet)voidResultsWriter.write(OutputStream output, ResultSet resultSet) Write a result set, using the configuration of theResultWriter, to anOutputStream.voidWrite a result set, using the configuration of theResultsWriter, to a fileConstructors in org.apache.jena.sparql.resultset with parameters of type ResultSetModifierConstructorDescriptionResultSetApply(ResultSet rs, ResultSetProcessor proc) Create an in-memory result set from any ResultSet object.ResultSetPeeking(ResultSet results) Creates a peeking wrapper around another result setSPARQLResult(ResultSet resultSet) -
Uses of ResultSet in org.apache.jena.sparql.util
Methods in org.apache.jena.sparql.util with parameters of type ResultSetModifier and TypeMethodDescriptionstatic ResultSetRewindableCreate an in-memory result set from a number of ResulSets.static voidQueryExecUtils.outputResultSet(ResultSet results, Prologue prologue, ResultsFormat outputFormat, PrintStream output) static List<org.apache.jena.rdf.model.RDFNode>ResultSetUtils.resultSetToList(ResultSet rs, String selectElement) Extracts a List filled with the binding of selectElement variable for each query solution as RDFNodes (Resources or Literals).ResultSetUtils.resultSetToStringList(ResultSet rs, String selectElement, String literalOrResource) Extracts a List filled with the binding of selectElement variable for each query solution, turned into a string (URIs or lexical forms).