Uses of Class
org.eclipse.rdf4j.query.resultio.TupleQueryResultFormat
Package
Description
A writer for the
SPARQL Query Results JSON Format
Parsers and writers for the
SPARQL Query Results XML Format
A repository that serves as a proxy client for a remote repository on an RDF4J Server.
-
Uses of TupleQueryResultFormat in org.eclipse.rdf4j.http.client
Modifier and TypeMethodDescriptionSPARQLProtocolSession.getPreferredTupleQueryResultFormat()
Gets the preferredTupleQueryResultFormat
for encoding tuple query results.Modifier and TypeMethodDescriptionvoid
SPARQLProtocolSession.setPreferredTupleQueryResultFormat
(TupleQueryResultFormat format) Sets the preferred format for encoding tuple query results. -
Uses of TupleQueryResultFormat in org.eclipse.rdf4j.query.resultio
Modifier and TypeFieldDescriptionstatic final TupleQueryResultFormat
TupleQueryResultFormat.BINARY
Binary RDF results table format.static final TupleQueryResultFormat
TupleQueryResultFormat.CSV
SPARQL Query Result CSV Format.static final TupleQueryResultFormat
TupleQueryResultFormat.JSON
SPARQL Query Results JSON Format.static final TupleQueryResultFormat
TupleQueryResultFormat.JSON_STAR
SPARQL-star Query Results JSON Format (like SPARQL JSON but with RDF-star support).static final TupleQueryResultFormat
TupleQueryResultFormat.SPARQL
SPARQL Query Results XML Format.static final TupleQueryResultFormat
TupleQueryResultFormat.SPARQL_STAR
SPARQL-star Query Results XML Format (like SPARQL/XML but with native RDF-star support).static final TupleQueryResultFormat
TupleQueryResultFormat.TSV
SPARQL Query Result TSV Format.static final TupleQueryResultFormat
TupleQueryResultFormat.TSV_STAR
SPARQL-star Query Results TSV Format (like SPARQL TSV but with RDF-star support).Modifier and TypeMethodDescriptionTupleQueryResultParser.getTupleQueryResultFormat()
Gets the query result format that this parser can parse.TupleQueryResultParserFactory.getTupleQueryResultFormat()
Returns the tuple query result format for this factory.TupleQueryResultWriter.getTupleQueryResultFormat()
Gets the query result format that this writer uses.TupleQueryResultWriterFactory.getTupleQueryResultFormat()
Returns the tuple query result format for this factory. -
Uses of TupleQueryResultFormat in org.eclipse.rdf4j.query.resultio.binary
Modifier and TypeMethodDescriptionfinal TupleQueryResultFormat
BinaryQueryResultWriter.getQueryResultFormat()
final TupleQueryResultFormat
BinaryQueryResultParser.getTupleQueryResultFormat()
BinaryQueryResultParserFactory.getTupleQueryResultFormat()
ReturnsBINARY
.final TupleQueryResultFormat
BinaryQueryResultWriter.getTupleQueryResultFormat()
BinaryQueryResultWriterFactory.getTupleQueryResultFormat()
ReturnsBINARY
. -
Uses of TupleQueryResultFormat in org.eclipse.rdf4j.query.resultio.sparqljson
Modifier and TypeMethodDescriptionSPARQLResultsJSONWriter.getQueryResultFormat()
SPARQLStarResultsJSONWriter.getQueryResultFormat()
SPARQLResultsJSONParser.getTupleQueryResultFormat()
SPARQLResultsJSONParserFactory.getTupleQueryResultFormat()
ReturnsJSON
.SPARQLResultsJSONWriter.getTupleQueryResultFormat()
SPARQLResultsJSONWriterFactory.getTupleQueryResultFormat()
ReturnsJSON
.SPARQLStarResultsJSONParser.getTupleQueryResultFormat()
SPARQLStarResultsJSONParserFactory.getTupleQueryResultFormat()
ReturnsJSON_STAR
.SPARQLStarResultsJSONWriter.getTupleQueryResultFormat()
SPARQLStarResultsJSONWriterFactory.getTupleQueryResultFormat()
ReturnsJSON_STAR
. -
Uses of TupleQueryResultFormat in org.eclipse.rdf4j.query.resultio.sparqlxml
Modifier and TypeMethodDescriptionfinal TupleQueryResultFormat
SPARQLResultsXMLWriter.getQueryResultFormat()
SPARQLResultsXMLParser.getTupleQueryResultFormat()
SPARQLResultsXMLParserFactory.getTupleQueryResultFormat()
ReturnsSPARQL
.SPARQLResultsXMLWriter.getTupleQueryResultFormat()
SPARQLResultsXMLWriterFactory.getTupleQueryResultFormat()
ReturnsSPARQL
.SPARQLStarResultsXMLParser.getTupleQueryResultFormat()
SPARQLStarResultsXMLParserFactory.getTupleQueryResultFormat()
ReturnsSPARQL_STAR
.final TupleQueryResultFormat
SPARQLStarResultsXMLWriter.getTupleQueryResultFormat()
SPARQLStarResultsXMLWriterFactory.getTupleQueryResultFormat()
ReturnsSPARQL_STAR
. -
Uses of TupleQueryResultFormat in org.eclipse.rdf4j.query.resultio.text.csv
Modifier and TypeMethodDescriptionfinal TupleQueryResultFormat
SPARQLResultsCSVWriter.getQueryResultFormat()
SPARQLResultsCSVParser.getTupleQueryResultFormat()
SPARQLResultsCSVParserFactory.getTupleQueryResultFormat()
ReturnsCSV
.final TupleQueryResultFormat
SPARQLResultsCSVWriter.getTupleQueryResultFormat()
SPARQLResultsCSVWriterFactory.getTupleQueryResultFormat()
ReturnsCSV
. -
Uses of TupleQueryResultFormat in org.eclipse.rdf4j.query.resultio.text.tsv
Modifier and TypeMethodDescriptionfinal TupleQueryResultFormat
SPARQLResultsTSVWriter.getQueryResultFormat()
SPARQLResultsTSVParser.getTupleQueryResultFormat()
SPARQLResultsTSVParserFactory.getTupleQueryResultFormat()
ReturnsTSV
.SPARQLResultsTSVWriter.getTupleQueryResultFormat()
SPARQLResultsTSVWriterFactory.getTupleQueryResultFormat()
ReturnsTSV
.SPARQLStarResultsTSVParser.getTupleQueryResultFormat()
SPARQLStarResultsTSVParserFactory.getTupleQueryResultFormat()
ReturnsTSV_STAR
.SPARQLStarResultsTSVWriter.getTupleQueryResultFormat()
SPARQLStarResultsTSVWriterFactory.getTupleQueryResultFormat()
ReturnsTSV_STAR
. -
Uses of TupleQueryResultFormat in org.eclipse.rdf4j.repository.http
Modifier and TypeMethodDescriptionHTTPRepository.getPreferredTupleQueryResultFormat()
Indicates the current preferredTupleQueryResultFormat
.Modifier and TypeMethodDescriptionvoid
HTTPRepository.setPreferredTupleQueryResultFormat
(TupleQueryResultFormat format) Sets the preferred serialization format for tuple query results to the suppliedTupleQueryResultFormat
, overriding theSPARQLProtocolSession
's default preference. -
Uses of TupleQueryResultFormat in org.eclipse.rdf4j.testsuite.query.resultio
Modifier and TypeMethodDescriptionprotected abstract TupleQueryResultFormat
AbstractQueryResultIOBooleanTest.getMatchingTupleFormatOrNull()
protected abstract TupleQueryResultFormat
AbstractQueryResultIOTupleTest.getTupleFormat()
Modifier and TypeMethodDescriptionprotected void
AbstractQueryResultIOTest.doBooleanParseNoHandlerOnTupleResults
(BooleanQueryResultFormat format, TupleQueryResult tqr, TupleQueryResultFormat matchingTupleFormat) Tests that the parser returned for a BooleanQueryResultFormat is not able to parse a TupleQueryResultFormat using the deprecatedBooleanQueryResultParser.parse(java.io.InputStream)
method, and that it does indeed through an exception of typeQueryResultParseException
.protected void
AbstractQueryResultIOTest.doTupleJSONPCallback
(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected) Test specifically for JSONP callback support.protected void
AbstractQueryResultIOTest.doTupleLinks
(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected, List<String> links) protected void
AbstractQueryResultIOTest.doTupleLinksAndStylesheet
(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected, List<String> links, String stylesheetUrl) protected void
AbstractQueryResultIOTest.doTupleLinksAndStylesheetAndNamespaces
(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected, List<String> links, String stylesheetUrl, Map<String, String> namespaces) protected void
AbstractQueryResultIOTest.doTupleLinksAndStylesheetAndNamespacesQName
(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected, List<String> links, String stylesheetUrl, Map<String, String> namespaces) Test specifically for QName support.protected void
AbstractQueryResultIOTest.doTupleLinksAndStylesheetMultipleEndHeaders
(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected, List<String> links, String stylesheetUrl) protected void
AbstractQueryResultIOTest.doTupleLinksAndStylesheetNoStarts
(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected, List<String> links, String stylesheetUrl) protected void
AbstractQueryResultIOTest.doTupleMissingStartQueryResult
(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected, List<String> links, String stylesheetUrl) protected void
AbstractQueryResultIOTest.doTupleNoHandler
(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected) Tests that parsing a tuple results set without specifying aTupleQueryResultHandler
does not throw any exceptions.protected void
AbstractQueryResultIOTest.doTupleNoLinks
(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected) protected void
AbstractQueryResultIOTest.doTupleParseNoHandlerOnBooleanResults
(TupleQueryResultFormat format, boolean input, BooleanQueryResultFormat matchingBooleanFormat) Tests that the parser returned for a TupleQueryResultFormat is not able to parse a BooleanQueryResultFormat using the deprecatedTupleQueryResultParser.parse(java.io.InputStream)
method, and that it does indeed through an exception of typeQueryResultParseException
.protected void
AbstractQueryResultIOTest.doTupleStylesheet
(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected, String stylesheetUrl) protected TupleQueryResult
AbstractQueryResultIOTest.parseTupleInternal
(TupleQueryResultFormat format, InputStream in) Override this to customise how the tuple parsing is performed, particularly to test background and other parsing strategies.