Uses of Class
org.eclipse.rdf4j.query.resultio.UnsupportedQueryResultFormatException
Packages that use UnsupportedQueryResultFormatException
Package
Description
-
Uses of UnsupportedQueryResultFormatException in org.eclipse.rdf4j.query.resultio
Methods in org.eclipse.rdf4j.query.resultio that throw UnsupportedQueryResultFormatExceptionModifier and TypeMethodDescriptionstatic BooleanQueryResultParserQueryResultIO.createBooleanParser(QueryResultFormat format) Convenience methods for creating BooleanQueryResultParser objects.This method uses the registry returned byBooleanQueryResultParserRegistry.getInstance()to get a factory for the specified format and uses this factory to create the appropriate parser.static BooleanQueryResultWriterQueryResultIO.createBooleanWriter(QueryResultFormat format, OutputStream out) Convenience methods for creating BooleanQueryResultWriter objects.This method uses the registry returned byBooleanQueryResultWriterRegistry.getInstance()to get a factory for the specified format and uses this factory to create the appropriate writer.static TupleQueryResultParserQueryResultIO.createTupleParser(QueryResultFormat format) Convenience methods for creating TupleQueryResultParser objects.static TupleQueryResultParserQueryResultIO.createTupleParser(QueryResultFormat format, ValueFactory valueFactory) Convenience methods for creating TupleQueryResultParser objects that use the specified ValueFactory to create RDF model objects.static TupleQueryResultWriterQueryResultIO.createTupleWriter(QueryResultFormat format, OutputStream out) Convenience methods for creating TupleQueryResultWriter objects.This method uses the registry returned byTupleQueryResultWriterRegistry.getInstance()to get a factory for the specified format and uses this factory to create the appropriate writer.static QueryResultWriterQueryResultIO.createWriter(QueryResultFormat format, OutputStream out) Convenience methods for creating QueryResultWriter objects.This method uses the registry returned byTupleQueryResultWriterRegistry.getInstance()to get a factory for the specified format and uses this factory to create the appropriate writer.static booleanQueryResultIO.parseBoolean(InputStream in, QueryResultFormat format) Parses a boolean query result document and returns the parsed value.static TupleQueryResultQueryResultIO.parseTuple(InputStream in, QueryResultFormat format, WeakReference<?> callerReference) Deprecated.WeakReference<?> callerReference argument will be removedstatic voidQueryResultIO.parseTuple(InputStream in, QueryResultFormat format, TupleQueryResultHandler handler, ValueFactory valueFactory) Parses a query result document, reporting the parsed solutions to the supplied TupleQueryResultHandler.static TupleQueryResultQueryResultIO.parseTupleBackground(InputStream in, QueryResultFormat format, WeakReference<?> callerReference) Deprecated.WeakReference<?> callerReference argument will be removedstatic voidQueryResultIO.writeBoolean(boolean value, QueryResultFormat format, OutputStream out) Writes a boolean query result document in a specific boolean query result format to an output stream.static voidQueryResultIO.writeTuple(TupleQueryResult tqr, QueryResultFormat format, OutputStream out) Writes a query result document in a specific query result format to an output stream. -
Uses of UnsupportedQueryResultFormatException in org.eclipse.rdf4j.testsuite.query.resultio
Methods in org.eclipse.rdf4j.testsuite.query.resultio that throw UnsupportedQueryResultFormatExceptionModifier and TypeMethodDescriptionprotected voidAbstractQueryResultIOTest.doBooleanLinks(BooleanQueryResultFormat format, boolean input, List<String> links) protected voidAbstractQueryResultIOTest.doBooleanLinksAndStylesheet(BooleanQueryResultFormat format, boolean input, List<String> links, String stylesheetUrl) protected voidAbstractQueryResultIOTest.doBooleanLinksAndStylesheetAndNamespaces(BooleanQueryResultFormat format, boolean input, List<String> links, String stylesheetUrl, Map<String, String> namespaces) protected voidAbstractQueryResultIOTest.doBooleanLinksOnly(BooleanQueryResultFormat format, boolean input, List<String> links) protected voidAbstractQueryResultIOTest.doBooleanNoLinks(BooleanQueryResultFormat format, boolean input) protected voidAbstractQueryResultIOTest.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 voidAbstractQueryResultIOTest.doBooleanStylesheet(BooleanQueryResultFormat format, boolean input, String stylesheetUrl) protected voidAbstractQueryResultIOTest.doInvalidBooleanAfterStartQueryResult(BooleanQueryResultFormat format, boolean input, List<String> links) protected voidAbstractQueryResultIOTest.doTupleJSONPCallback(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected) Test specifically for JSONP callback support.protected voidAbstractQueryResultIOTest.doTupleLinks(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected, List<String> links) protected voidAbstractQueryResultIOTest.doTupleLinksAndStylesheet(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected, List<String> links, String stylesheetUrl) protected voidAbstractQueryResultIOTest.doTupleLinksAndStylesheetAndNamespaces(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected, List<String> links, String stylesheetUrl, Map<String, String> namespaces) protected voidAbstractQueryResultIOTest.doTupleLinksAndStylesheetAndNamespacesQName(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected, List<String> links, String stylesheetUrl, Map<String, String> namespaces) Test specifically for QName support.protected voidAbstractQueryResultIOTest.doTupleLinksAndStylesheetMultipleEndHeaders(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected, List<String> links, String stylesheetUrl) protected voidAbstractQueryResultIOTest.doTupleLinksAndStylesheetNoStarts(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected, List<String> links, String stylesheetUrl) protected voidAbstractQueryResultIOTest.doTupleMissingStartQueryResult(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected, List<String> links, String stylesheetUrl) protected voidAbstractQueryResultIOTest.doTupleNoHandler(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected) Tests that parsing a tuple results set without specifying aTupleQueryResultHandlerdoes not throw any exceptions.protected voidAbstractQueryResultIOTest.doTupleNoLinks(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected) protected voidAbstractQueryResultIOTest.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 voidAbstractQueryResultIOTest.doTupleStylesheet(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected, String stylesheetUrl) protected TupleQueryResultAbstractQueryResultIOTest.parseTupleInternal(TupleQueryResultFormat format, InputStream in) Override this to customise how the tuple parsing is performed, particularly to test background and other parsing strategies. -
Uses of UnsupportedQueryResultFormatException in org.eclipse.rdf4j.workbench.base
Methods in org.eclipse.rdf4j.workbench.base that throw UnsupportedQueryResultFormatExceptionModifier and TypeMethodDescriptionprotected QueryResultWriterAbstractServlet.getResultWriter(javax.servlet.http.HttpServletRequest req, javax.servlet.ServletResponse resp, OutputStream outputStream) protected TupleResultBuilderAbstractServlet.getTupleResultBuilder(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, OutputStream outputStream) Gets aTupleResultBuilderbased on the Accept header, and sets the result content type to the best available match for that, returning a builder that can be used to write out the results.