Uses of Interface
org.apache.jena.query.ResultSet
-
-
Uses of ResultSet in org.apache.jena.query
Subinterfaces of ResultSet in org.apache.jena.query Modifier and Type Interface Description interfaceResultSetRewindableClasses in org.apache.jena.query that implement ResultSet Modifier and Type Class Description classResultSetCloseableMethods in org.apache.jena.query that return ResultSet Modifier and Type Method Description static ResultSetResultSetFactory. create(QueryIterator queryIterator, java.util.List<java.lang.String> vars)Build a result set from one of ARQ's lower level query iterator.ResultSetQueryExecution. execSelect()Execute a SELECT querystatic ResultSetBIOInput. fromBIO(java.io.InputStream input)static ResultSetResultSetFactory. fromJSON(java.io.InputStream in)Read from an input stream which is the format of the SPARQL result set format in JSON.static ResultSetResultSetFactory. fromSSE(java.io.InputStream in)Read from an input stream which is the format of the SPARQL result set format in SSE.static ResultSetResultSetFactory. fromTSV(java.io.InputStream in)Read from an input stream which is the format of the SPARQL result set format in TSV.static ResultSetResultSetFactory. fromXML(java.io.InputStream in)Read XML which is the format of the SPARQL result set format.static ResultSetResultSetFactory. load(java.io.InputStream input, ResultsFormat format)Load a result set from input stream into a result set (memory backed).static ResultSetResultSetFactory. load(java.lang.String filenameOrURI)Load a result set from file or URL into a result set (memory backed).static ResultSetResultSetFactory. load(java.lang.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.Methods in org.apache.jena.query with parameters of type ResultSet Modifier and Type Method Description static java.lang.StringResultSetFormatter. asText(ResultSet qresults)Return a string that has the result set serialized as a text tablestatic java.lang.StringResultSetFormatter. asText(ResultSet qresults, Prologue prologue)Return a string that has the result set serialized as a text tablestatic java.lang.StringResultSetFormatter. asXMLString(ResultSet qresults)Return a string that has the result set serialized as XML (not RDF)static java.lang.StringResultSetFormatter. asXMLString(ResultSet qresults, java.lang.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 intResultSetFormatter. consume(ResultSet resultSet)This 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(java.io.OutputStream out, ResultSet qresults)Output a result set in a text format.static voidResultSetFormatter. out(java.io.OutputStream out, ResultSet resultSet, PrefixMapping pmap)Output a result set in a text format.static voidResultSetFormatter. out(java.io.OutputStream out, ResultSet resultSet, Prologue prologue)Output a result set in a text format.static voidResultSetFormatter. out(ResultSet qresults)Output a result set in a text format.static voidResultSetFormatter. out(ResultSet qresults, Query query)Output a result set in a text format.static voidResultSetFormatter. out(ResultSet qresults, PrefixMapping pmap)Output a result set in a text format.static voidResultSetFormatter. out(ResultSet qresults, Prologue prologue)Output a result set in a text format.static voidResultSetFormatter. output(java.io.OutputStream outStream, ResultSet resultSet, Lang resultFormat)static voidResultSetFormatter. output(java.io.OutputStream outStream, ResultSet resultSet, ResultsFormat rFmt)Output a ResultSet in some format.static voidResultSetFormatter. output(ResultSet resultSet, Lang resultFormat)static voidResultSetFormatter. output(ResultSet resultSet, ResultsFormat rFmt)Output a ResultSet in some format.static voidResultSetFormatter. outputAsCSV(java.io.OutputStream outStream, ResultSet resultSet)Output a result set in CSV formatstatic voidResultSetFormatter. outputAsCSV(ResultSet resultSet)Output a result set in CSV formatstatic voidResultSetFormatter. outputAsJSON(java.io.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(java.io.OutputStream outStream, ResultSet resultSet)Output a result set in the SSE format Format: SSEstatic voidResultSetFormatter. outputAsSSE(java.io.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(java.io.OutputStream outStream, ResultSet resultSet)Output a result set in TSV formatstatic voidResultSetFormatter. outputAsTSV(ResultSet resultSet)Output a result set in TSV formatstatic voidResultSetFormatter. outputAsXML(java.io.OutputStream outStream, ResultSet qresults)Output a result set in the XML formatstatic voidResultSetFormatter. outputAsXML(java.io.OutputStream outStream, ResultSet qresults, java.lang.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, java.lang.String stylesheet)Output a result set in the XML format, inserting a style sheet in the XML outputstatic java.util.List<QuerySolution>ResultSetFormatter. toList(ResultSet resultSet)Turn the result set into a java.util.ListConstructors in org.apache.jena.query with parameters of type ResultSet Constructor Description ResultSetCloseable(ResultSet rs, QueryExecution qexec) -
Uses of ResultSet in org.apache.jena.riot
Methods in org.apache.jena.riot that return ResultSet Modifier and Type Method Description static ResultSetResultSetMgr. parse(java.lang.String uri, Lang hintLang, Context context)Read ResultSet.static ResultSetResultSetMgr. read(java.io.InputStream input)Read from aURL(including filenames) and produce aResultSet.static ResultSetResultSetMgr. read(java.io.InputStream input, Lang lang)static ResultSetResultSetMgr. read(java.lang.String urlOrFilename)Read from aURL(including filenames) and produce aResultSet.static ResultSetResultSetMgr. read(java.lang.String urlOrFilename, Lang lang)Read from aURL(including filenames) and produce aResultSet; the stream is expect to use syntaxlang.Methods in org.apache.jena.riot with parameters of type ResultSet Modifier and Type Method Description static java.lang.StringResultSetMgr. asString(ResultSet resultSet, Lang lang)Generate a string in the specified language/syntax for a SPARQL result set.static voidResultSetMgr. write(java.io.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 ResultSet Modifier and Type Method Description default ResultSetResultSetReader. read(java.io.InputStream in, Context context)Read from anInputStreamand produce aResultSet.default ResultSetResultSetReader. read(java.io.Reader in, Context context)UsingResultSetReader.read(InputStream, Context)is preferred.Methods in org.apache.jena.riot.resultset with parameters of type ResultSet Modifier and Type Method Description voidResultSetWriter. write(java.io.OutputStream out, ResultSet resultSet, Context context)Write the ResultSet to the OutputStreamvoidResultSetWriter. write(java.io.Writer out, ResultSet resultSet, Context context)UsingResultSetWriter.write(OutputStream, ResultSet, Context)is preferred. -
Uses of ResultSet in org.apache.jena.riot.resultset.rw
Classes in org.apache.jena.riot.resultset.rw that implement ResultSet Modifier and Type Class Description classResultsStAXPublic only for use by XMLOutput (legacy)Methods in org.apache.jena.riot.resultset.rw that return ResultSet Modifier and Type Method Description ResultSetResultSetReaderCSV. read(java.io.InputStream in, Context context)ResultSetResultSetReaderThrift. read(java.io.InputStream in, Context context)ResultSetResultSetReaderThrift. read(java.io.Reader in, Context context)ResultSetResultSetReaderTSV. read(java.io.InputStream in, Context context)ResultSetResultSetReaderXML. read(java.io.Reader in, Context context)ResultSetResultsReader.Builder. read(java.io.InputStream input)Short form equivalent to.build().read(InputStreams)ResultSetResultsReader.Builder. read(java.lang.String url)Short form equivalent to.build().read(url)ResultSetResultsReader. read(java.io.InputStream input)Read a result set from anInputStream.ResultSetResultsReader. read(java.lang.String urlOrFilename)Read a result set from a URL or filename.static ResultSetResultSetReaderTSV. resultSetFromTSV(java.io.InputStream in)Reads SPARQL Results from TSV format into aResultSetinstanceMethods in org.apache.jena.riot.resultset.rw with parameters of type ResultSet Modifier and Type Method Description static voidResultSetWriterText. output(org.apache.jena.atlas.io.AWriter out, ResultSet resultSet, java.lang.String colStart, java.lang.String colSep, java.lang.String colEnd)static voidResultSetWriterText. output(org.apache.jena.atlas.io.AWriter out, ResultSet resultSet, java.lang.String colStart, java.lang.String colSep, java.lang.String colEnd, Context cxt)static voidResultSetWriterText. output(org.apache.jena.atlas.io.AWriter out, ResultSet resultSet, Context cxt)voidResultSetWriterCSV. write(java.io.OutputStream out, ResultSet resultSet, Context context)voidResultSetWriterCSV. write(java.io.Writer out, ResultSet resultSet, Context context)voidResultSetWriterJSON. write(java.io.OutputStream outStream, ResultSet resultSet, Context context)voidResultSetWriterJSON. write(java.io.Writer out, ResultSet resultSet, Context context)voidResultSetWriterNone. write(java.io.OutputStream out, ResultSet resultSet, Context context)voidResultSetWriterNone. write(java.io.Writer out, ResultSet resultSet, Context context)voidResultSetWriterText. write(java.io.OutputStream out, ResultSet resultSet, Context context)voidResultSetWriterText. write(java.io.Writer out, ResultSet resultSet, Context context)voidResultSetWriterThrift. write(java.io.OutputStream out, ResultSet resultSet, Context context)voidResultSetWriterThrift. write(java.io.Writer out, ResultSet resultSet, Context context)voidResultSetWriterTSV. write(java.io.OutputStream out, ResultSet resultSet, Context context)voidResultSetWriterTSV. write(java.io.Writer out, ResultSet resultSet, Context context)voidResultSetWriterXML. write(java.io.OutputStream outStream, ResultSet resultSet, Context context)voidResultSetWriterXML. write(java.io.Writer out, ResultSet resultSet, Context context)voidResultsWriter.Builder. write(java.io.OutputStream output, ResultSet resultSet)Short form equivalent tobuild().write(OutputStream, ResultSet)voidResultsWriter.Builder. write(java.lang.String url, ResultSet resultSet)Short form equivalent tobuild().write(url, ResultSet)voidResultsWriter. write(java.io.OutputStream output, ResultSet resultSet)Write a result set, using the configuration of theResultWriter, to anOutputStream.voidResultsWriter. write(java.lang.String filename, ResultSet resultSet)Write a result set, using the configurartion of theResultWriter, to a file -
Uses of ResultSet in org.apache.jena.riot.thrift
Methods in org.apache.jena.riot.thrift that return ResultSet Modifier and Type Method Description static ResultSetBinRDF. readResultSet(java.io.InputStream in)static ResultSetBinRDF. readResultSet(org.apache.thrift.protocol.TProtocol protocol)Methods in org.apache.jena.riot.thrift with parameters of type ResultSet Modifier and Type Method Description static voidBinRDF. writeResultSet(java.io.OutputStream out, ResultSet resultSet)static voidBinRDF. writeResultSet(java.io.OutputStream out, ResultSet resultSet, boolean withValues)static voidBinRDF. writeResultSet(org.apache.thrift.protocol.TProtocol protocol, ResultSet resultSet)static voidBinRDF. writeResultSet(org.apache.thrift.protocol.TProtocol protocol, ResultSet resultSet, boolean encodeValues) -
Uses of ResultSet in org.apache.jena.riot.web
Methods in org.apache.jena.riot.web that return ResultSet Modifier and Type Method Description ResultSetHttpResponseLib.HttpCaptureResponseResultSet. get() -
Uses of ResultSet in org.apache.jena.sparql.algebra
Methods in org.apache.jena.sparql.algebra that return ResultSet Modifier and Type Method Description ResultSetTable. toResultSet() -
Uses of ResultSet in org.apache.jena.sparql.algebra.table
Methods in org.apache.jena.sparql.algebra.table that return ResultSet Modifier and Type Method Description ResultSetTableBase. toResultSet() -
Uses of ResultSet in org.apache.jena.sparql.engine
Classes in org.apache.jena.sparql.engine that implement ResultSet Modifier and Type Class Description classResultSetCheckConditionResultSet wrapper that check whether some condition is true (e.g.classResultSetStreamThe main ResultSet implementation for returning results from queries.Methods in org.apache.jena.sparql.engine that return ResultSet Modifier and Type Method Description ResultSetQueryExecutionBase. execSelect()Methods in org.apache.jena.sparql.engine with parameters of type ResultSet Modifier and Type Method Description voidQueryExecutionBase. setInitialBindings(ResultSet table)Constructors in org.apache.jena.sparql.engine with parameters of type ResultSet Constructor Description ResultSetCheckCondition(ResultSet other, QueryExecution qExec)ResultSetCheckCondition(ResultSet other, org.apache.jena.sparql.engine.ResultSetCheckCondition.Condition condition) -
Uses of ResultSet in org.apache.jena.sparql.engine.http
Methods in org.apache.jena.sparql.engine.http that return ResultSet Modifier and Type Method Description ResultSetQueryEngineHTTP. execSelect() -
Uses of ResultSet in org.apache.jena.sparql.engine.iterator
Constructors in org.apache.jena.sparql.engine.iterator with parameters of type ResultSet Constructor Description QueryIteratorResultSet(ResultSet rs) -
Uses of ResultSet in org.apache.jena.sparql.resultset
Subinterfaces of ResultSet in org.apache.jena.sparql.resultset Modifier and Type Interface Description interfaceResultSetPeekableInterfaces for result sets that allow peeking aheadClasses in org.apache.jena.sparql.resultset that implement ResultSet Modifier and Type Class Description classRDFInputclassResultSetMemA result set held in-memory.classResultSetPeekingA wrapper around another result set that provides peek capabilitiesclassResultSetWrapperWrap anotherResultSet(probably to modify operations on it).Methods in org.apache.jena.sparql.resultset that return ResultSet Modifier and Type Method Description static ResultSetCSVInput. fromCSV(java.io.InputStream in)static ResultSetRDFInput. fromRDF(Model model)Turns an RDF model, with properties and classes from the result set vocabulary, into a SPARQL result set.static ResultSetTSVInput. fromTSV(java.io.InputStream in)Reads SPARQL Results from TSV format into aResultSetinstanceResultSetSPARQLResult. getResultSet()Methods in org.apache.jena.sparql.resultset with parameters of type ResultSet Modifier and Type Method Description static voidResultSetApply. apply(ResultSet rs, ResultSetProcessor proc)ModelRDFOutput. asModel(ResultSet resultSet)Encode the result set as RDF.ResourceRDFOutput. asRDF(Model model, ResultSet resultSet)Encode the result set as RDF in the model provided.ResourceRDFOutput. asRDF(Model model, ResultSet resultSet, boolean includeRowIndex)java.lang.StringOutputBase. asString(ResultSet resultSet)Deprecated.java.lang.StringOutputFormatter. asString(ResultSet resultSet)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.voidPlainFormat. finish(ResultSet rs)voidResultSetProcessor. finish(ResultSet rs)Finish result setvoidCSVOutput. format(java.io.OutputStream out, ResultSet resultSet)Deprecated.voidOutputFormatter. format(java.io.OutputStream out, ResultSet resultSet)Format a result set - output on the given streamvoidTextOutput. format(java.io.OutputStream out, ResultSet resultSet)Deprecated.UseResultSetFormatter.out(OutputStream, ResultSet)orResultsWriter.create().lang(ResultSetLang.RS_Text).write(out, resultSet);voidTextOutput. format(java.io.Writer out, ResultSet resultSet)Deprecated.UseResultSetFormatter.out(OutputStream, ResultSet)orResultsWriter.create().lang(ResultSetLang.RS_Text).write(out, resultSet);voidTSVOutput. format(java.io.OutputStream out, ResultSet resultSet)Deprecated.voidXMLOutput. format(java.io.OutputStream out, ResultSet resultSet)Deprecated.static booleanResultSetCompare. isomorphic(ResultSet rs1, ResultSet rs2)Compare two result sets for bNode isomorphism equivalence.static booleanResultsFormat. oldWrite(java.io.OutputStream out, ResultsFormat outputFormat, Prologue prologue, ResultSet resultSet)Write aResultSetin various old style formats no longer recommended.static voidRDFOutput. outputAsRDF(java.io.OutputStream outStream, java.lang.String format, ResultSet resultSet)Write out an RDF model that encodes the result setstatic voidRDFOutput. outputAsRDF(java.lang.String format, ResultSet resultSet)Write out an RDF model that encodes the result setvoidPlainFormat. start(ResultSet rs)voidResultSetProcessor. start(ResultSet rs)Start result setvoidTextOutput. write(java.io.OutputStream out, ResultSet resultSet)Deprecated.UseResultSetFormatter.out(OutputStream, ResultSet)orResultsWriter.create().lang(ResultSetLang.RS_Text).write(out, resultSet);voidTextOutput. write(java.io.OutputStream out, ResultSet resultSet, java.lang.String colStart, java.lang.String colSep, java.lang.String colEnd)Deprecated.Output a result set.voidTextOutput. write(java.io.Writer out, ResultSet resultSet)Deprecated.UseResultSetFormatter.out(OutputStream, ResultSet)orResultsWriter.create().lang(ResultSetLang.RS_Text).write(out, resultSet);voidTextOutput. write(java.io.Writer out, ResultSet resultSet, java.lang.String colStart, java.lang.String colSep, java.lang.String colEnd)Deprecated.Use an java.io.OutputStreamConstructors in org.apache.jena.sparql.resultset with parameters of type ResultSet Constructor Description ResultSetApply(ResultSet rs, ResultSetProcessor proc)ResultSetMem(ResultSet qr)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 setResultSetWrapper(ResultSet rs)SPARQLResult(ResultSet resultSet) -
Uses of ResultSet in org.apache.jena.sparql.sse
Methods in org.apache.jena.sparql.sse that return ResultSet Modifier and Type Method Description static ResultSetSSE. parseResultSet(java.lang.String string)Build aResultSet -
Uses of ResultSet in org.apache.jena.sparql.sse.builders
Methods in org.apache.jena.sparql.sse.builders that return ResultSet Modifier and Type Method Description static ResultSetBuilderResultSet. build(Item item) -
Uses of ResultSet in org.apache.jena.sparql.util
Methods in org.apache.jena.sparql.util that return ResultSet Modifier and Type Method Description static ResultSetResultSetUtils. union(ResultSet... sets)Create an in-memory result set from an array of ResulSets.Methods in org.apache.jena.sparql.util with parameters of type ResultSet Modifier and Type Method Description static voidQueryExecUtils. outputResultSet(ResultSet results, Prologue prologue, ResultsFormat outputFormat, java.io.PrintStream output)static java.util.List<RDFNode>ResultSetUtils. resultSetToList(ResultSet rs, java.lang.String selectElement)Extracts a List filled with the binding of selectElement variable for each query solution as RDFNodes (Resources or Literals).static java.util.List<java.lang.String>ResultSetUtils. resultSetToStringList(ResultSet rs, java.lang.String selectElement, java.lang.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 ResultSetResultSetUtils. union(ResultSet... sets)Create an in-memory result set from an array of ResulSets.
-