Uses of Class
org.eclipse.rdf4j.query.resultio.QueryResultParseException
Package
Description
A writer for the
SPARQL Query Results JSON Format
Parsers and writers for the
SPARQL Query Results XML Format
-
Uses of QueryResultParseException in org.eclipse.rdf4j.query.resultio
Modifier and TypeMethodDescriptionboolean
BooleanQueryResultParser.parse
(InputStream in) Deprecated.void
TupleQueryResultParser.parse
(InputStream in) Deprecated.UseQueryResultParser.parseQueryResult(InputStream)
instead.static boolean
QueryResultIO.parseBoolean
(InputStream in, QueryResultFormat format) Parses a boolean query result document and returns the parsed value.void
AbstractTupleQueryResultParser.parseQueryResult
(InputStream in) void
QueryResultParser.parseQueryResult
(InputStream in) Parse the query results out of the givenInputStream
into the handler setup usingQueryResultParser.setQueryResultHandler(QueryResultHandler)
.static TupleQueryResult
QueryResultIO.parseTuple
(InputStream in, QueryResultFormat format, WeakReference<?> callerReference) Parses a query result document and returns it as a TupleQueryResult object.static void
QueryResultIO.parseTuple
(InputStream in, QueryResultFormat format, TupleQueryResultHandler handler, ValueFactory valueFactory) Parses a query result document, reporting the parsed solutions to the supplied TupleQueryResultHandler.static TupleQueryResult
QueryResultIO.parseTupleBackground
(InputStream in, QueryResultFormat format, WeakReference<?> callerReference) Parses a query result document and returns it as a TupleQueryResult object, with parsing done on a separate thread in the background.
IMPORTANT: As this method may spawn a new thread in the background, it is vitally important that the TupleQueryResult be closed consistently when it is no longer required, to prevent resource leaks. -
Uses of QueryResultParseException in org.eclipse.rdf4j.query.resultio.binary
-
Uses of QueryResultParseException in org.eclipse.rdf4j.query.resultio.sparqljson
Modifier and TypeMethodDescriptionboolean
SPARQLBooleanJSONParser.parse
(InputStream in) Deprecated.void
SPARQLResultsJSONParser.parse
(InputStream in) Deprecated.void
AbstractSPARQLJSONParser.parseQueryResult
(InputStream in) protected boolean
AbstractSPARQLJSONParser.parseQueryResultInternal
(InputStream in, boolean attemptParseBoolean, boolean attemptParseTuple) -
Uses of QueryResultParseException in org.eclipse.rdf4j.query.resultio.sparqlxml
Modifier and TypeMethodDescriptionboolean
SPARQLBooleanXMLParser.parse
(InputStream in) Deprecated.void
SPARQLResultsXMLParser.parse
(InputStream in) Deprecated.void
AbstractSPARQLXMLParser.parseQueryResult
(InputStream in) void
SPARQLBooleanXMLParser.parseQueryResult
(InputStream in) void
SPARQLResultsXMLParser.parseQueryResult
(InputStream in) protected boolean
AbstractSPARQLXMLParser.parseQueryResultInternal
(InputStream in, boolean attemptParseBoolean, boolean attemptParseTuple) -
Uses of QueryResultParseException in org.eclipse.rdf4j.query.resultio.text
Modifier and TypeMethodDescriptionboolean
BooleanTextParser.parse
(InputStream in) void
BooleanTextParser.parseQueryResult
(InputStream in) -
Uses of QueryResultParseException in org.eclipse.rdf4j.query.resultio.text.csv
-
Uses of QueryResultParseException in org.eclipse.rdf4j.query.resultio.text.tsv
-
Uses of QueryResultParseException in org.eclipse.rdf4j.testsuite.query.resultio
Modifier and TypeMethodDescriptionprotected void
AbstractQueryResultIOTest.doBooleanLinks
(BooleanQueryResultFormat format, boolean input, List<String> links) protected void
AbstractQueryResultIOTest.doBooleanLinksAndStylesheet
(BooleanQueryResultFormat format, boolean input, List<String> links, String stylesheetUrl) protected void
AbstractQueryResultIOTest.doBooleanLinksAndStylesheetAndNamespaces
(BooleanQueryResultFormat format, boolean input, List<String> links, String stylesheetUrl, Map<String, String> namespaces) protected void
AbstractQueryResultIOTest.doBooleanLinksOnly
(BooleanQueryResultFormat format, boolean input, List<String> links) protected void
AbstractQueryResultIOTest.doBooleanNoHandler
(BooleanQueryResultFormat format, boolean input) Tests that parsing a boolean without specifying aBooleanQueryResultHandler
does not throw any exceptions.protected void
AbstractQueryResultIOTest.doBooleanNoLinks
(BooleanQueryResultFormat format, boolean input) protected void
AbstractQueryResultIOTest.doBooleanStylesheet
(BooleanQueryResultFormat format, boolean input, String stylesheetUrl) protected void
AbstractQueryResultIOTest.doInvalidBooleanAfterStartQueryResult
(BooleanQueryResultFormat format, boolean input, List<String> links) 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.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.
QueryResultParser.parseQueryResult(InputStream)
instead.