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.fromSSE(InputStream in) Read from an input stream which is the format of the SPARQL result set format in SSE.static ResultSetResultSetFactory.fromTSV(InputStream in) Deprecated.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(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, 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 voidResultSetFormatter.out(ResultSet qresults, PrefixMapping pmap) Output 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 ResultSet -
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
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. -
Uses of ResultSet in org.apache.jena.riot.thrift
Methods in org.apache.jena.riot.thrift that return ResultSetModifier and TypeMethodDescriptionstatic ResultSetBinRDF.readResultSet(InputStream in) Deprecated.UseThriftRDF.readResultSet(InputStream)insteadstatic ResultSetBinRDF.readResultSet(org.apache.thrift.protocol.TProtocol protocol) Deprecated.UseThriftRDF.readResultSet(InputStream)insteadstatic ResultSetThriftRDF.readResultSet(InputStream in) Deprecated.Methods in org.apache.jena.riot.thrift with parameters of type ResultSetModifier and TypeMethodDescriptionstatic voidBinRDF.writeResultSet(OutputStream out, ResultSet resultSet) Deprecated.UseThriftRDF.writeResultSet(OutputStream,ResultSet)insteadstatic voidBinRDF.writeResultSet(OutputStream out, ResultSet resultSet, boolean withValues) Deprecated.static voidBinRDF.writeResultSet(org.apache.thrift.protocol.TProtocol protocol, ResultSet resultSet) Deprecated.UseThriftRDF.writeRowSet(TProtocol,RowSet)insteadstatic voidBinRDF.writeResultSet(org.apache.thrift.protocol.TProtocol protocol, ResultSet resultSet, boolean encodeValues) Deprecated.UseThriftRDF.writeRowSet(TProtocol,RowSet,boolean)insteadstatic voidThriftRDF.writeResultSet(OutputStream out, ResultSet resultSet) Deprecated.static voidThriftRDF.writeResultSet(OutputStream out, ResultSet resultSet, boolean withValues) Deprecated. -
Uses of ResultSet in org.apache.jena.sparql.engine
Classes in org.apache.jena.sparql.engine that implement ResultSetModifier and TypeClassDescriptionclassResultSet wrapper that check whether some condition is true (e.g.classThe main ResultSet implementation for returning results from queries.Methods in org.apache.jena.sparql.engine that return ResultSetModifier and TypeMethodDescriptionstatic ResultSetCreate 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) ResultSetCheckCondition(ResultSet other, org.apache.jena.sparql.engine.ResultSetCheckCondition.Condition condition) -
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.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 ResultSetTurns 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) Encode the result set as RDF.Encode the result set as RDF in the model provided.Deprecated.Turn into a stringstatic ModelRDFOutput.encodeAsModel(ResultSet resultSet) Encode the result set as RDF.static ResourceRDFOutput.encodeAsRDF(Model model, ResultSet resultSet) Encode the result set as RDF in the model provided.static booleanResultSetCompare.equalsByTerm(ResultSet rs1, ResultSet rs2) compare two result sets for equivalence.static booleanResultSetCompare.equalsByTermAndOrder(ResultSet rs1, ResultSet rs2) compare two result sets for equivalence.static booleanResultSetCompare.equalsByValue(ResultSet rs1, ResultSet rs2) Compare two result sets for equivalence.static booleanResultSetCompare.equalsByValueAndOrder(ResultSet rs1, ResultSet rs2) Compare two result sets for equivalence.static booleanResultSetCompare.equalsExact(ResultSet rs1, ResultSet rs2) compare two result sets for exact equality equivalence.voidvoidFinish result setvoidOutputFormatter.format(OutputStream out, ResultSet resultSet) Format a result set - output on the given streamstatic booleanResultSetCompare.isomorphic(ResultSet rs1, ResultSet rs2) Compare two result sets for bNode isomorphism equivalence.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.ResultSetMem(ResultSet... sets) Create an in-memory result set from an array of ResulSets.ResultSetPeeking(ResultSet results) Creates a peeking wrapper around another result setSPARQLResult(ResultSet resultSet) -
Uses of ResultSet in org.apache.jena.sparql.sse
Methods in org.apache.jena.sparql.sse that return ResultSet -
Uses of ResultSet in org.apache.jena.sparql.util
Methods in org.apache.jena.sparql.util that return ResultSetModifier and TypeMethodDescriptionstatic ResultSetCreate an in-memory result set from an array of ResulSets.Methods in org.apache.jena.sparql.util with parameters of type ResultSetModifier and TypeMethodDescriptionstatic voidQueryExecUtils.outputResultSet(ResultSet results, Prologue prologue, ResultsFormat outputFormat, PrintStream output) 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).static ResultSetCreate an in-memory result set from an array of ResulSets.
ResultSetMgr.read(in, ResultSetLang.RS_TSV)