Uses of Class
org.eclipse.rdf4j.query.QueryResultHandlerException
Package
Description
Interfaces and classes for handling queries and query results.
Functionality to convert tuple query results to and from the
Data Access Working Group Test Result Set RDF Vocabulary
A writer for the
SPARQL Query Results JSON Format
Parsers and writers for the
SPARQL Query Results XML Format
-
Uses of QueryResultHandlerException in org.eclipse.rdf4j.console.util
Modifier and TypeMethodDescriptionvoid
ConsoleQueryResultWriter.endHeader()
void
ConsoleQueryResultWriter.handleBoolean
(boolean value) void
ConsoleQueryResultWriter.handleLinks
(List<String> linkUrls) void
ConsoleQueryResultWriter.handleNamespace
(String prefix, String uri) void
ConsoleRDFWriter.handleNamespace
(String prefix, String uri) void
ConsoleQueryResultWriter.handleStylesheet
(String stylesheetUrl) void
ConsoleQueryResultWriter.startDocument()
void
ConsoleQueryResultWriter.startHeader()
-
Uses of QueryResultHandlerException in org.eclipse.rdf4j.query
Modifier and TypeClassDescriptionclass
An exception that can be thrown by an BooleanQueryResultHandler when it encounters an unrecoverable error.class
An exception that can be thrown by an TupleQueryResultHandler when it encounters an unrecoverable error.Modifier and TypeMethodDescriptionvoid
AbstractTupleQueryResultHandler.handleBoolean
(boolean value) void
QueryResultHandler.handleBoolean
(boolean value) Handles the specified boolean value.void
AbstractTupleQueryResultHandler.handleLinks
(List<String> linkUrls) void
QueryResultHandler.handleLinks
(List<String> linkUrls) Handles the links elements which are present in SPARQL Results JSON and SPARQL Results XML documents in the header. -
Uses of QueryResultHandlerException in org.eclipse.rdf4j.query.dawg
Modifier and TypeMethodDescriptionvoid
DAWGTestResultSetWriter.handleBoolean
(boolean value) void
DAWGTestResultSetWriter.handleLinks
(List<String> linkUrls) -
Uses of QueryResultHandlerException in org.eclipse.rdf4j.query.resultio
Modifier and TypeMethodDescriptionvoid
QueryResultWriter.endHeader()
Indicates the end of the header.void
QueryResultWriter.handleNamespace
(String prefix, String uri) Handles a namespace prefix declaration.void
QueryResultWriter.handleStylesheet
(String stylesheetUrl) Handles a stylesheet URL.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)
.void
QueryResultWriter.startDocument()
Indicates the start of the document.void
QueryResultWriter.startHeader()
Indicates the start of the header.static void
QueryResultIO.writeBoolean
(boolean value, QueryResultFormat format, OutputStream out) Writes a boolean query result document in a specific boolean query result format to an output stream. -
Uses of QueryResultHandlerException in org.eclipse.rdf4j.query.resultio.binary
Modifier and TypeMethodDescriptionvoid
BinaryQueryResultWriter.endHeader()
void
BinaryQueryResultWriter.handleBoolean
(boolean value) void
BinaryQueryResultWriter.handleLinks
(List<String> linkUrls) void
BinaryQueryResultWriter.handleNamespace
(String prefix, String uri) void
BinaryQueryResultWriter.handleStylesheet
(String stylesheetUrl) void
BinaryQueryResultWriter.startHeader()
-
Uses of QueryResultHandlerException in org.eclipse.rdf4j.query.resultio.helpers
Modifier and TypeMethodDescriptionQueryResultCollector.getBindingNames()
Returns a collection of binding names collected.QueryResultCollector.getBindingSets()
boolean
QueryResultCollector.getBoolean()
IfQueryResultCollector.getHandledBoolean()
returns true this method returns the boolean that was last found usingQueryResultCollector.handleBoolean(boolean)
void
BackgroundTupleResult.handleBoolean
(boolean value) Deprecated.void
QueryResultCollector.handleBoolean
(boolean value) void
BackgroundTupleResult.handleLinks
(List<String> linkUrls) Deprecated.void
QueryResultCollector.handleLinks
(List<String> linkUrls) -
Uses of QueryResultHandlerException in org.eclipse.rdf4j.query.resultio.sparqljson
Modifier and TypeMethodDescriptionvoid
AbstractSPARQLJSONParser.parseQueryResult
(InputStream in) protected boolean
AbstractSPARQLJSONParser.parseQueryResultInternal
(InputStream in, boolean attemptParseBoolean, boolean attemptParseTuple) protected void
SPARQLResultsJSONWriter.writeValue
(Value value) -
Uses of QueryResultHandlerException in org.eclipse.rdf4j.query.resultio.sparqlxml
Modifier and TypeMethodDescriptionvoid
AbstractSPARQLXMLParser.parseQueryResult
(InputStream in) protected boolean
AbstractSPARQLXMLParser.parseQueryResultInternal
(InputStream in, boolean attemptParseBoolean, boolean attemptParseTuple) -
Uses of QueryResultHandlerException in org.eclipse.rdf4j.query.resultio.text
Modifier and TypeMethodDescriptionvoid
BooleanTextWriter.endHeader()
void
BooleanTextWriter.handleBoolean
(boolean value) void
BooleanTextWriter.handleLinks
(List<String> linkUrls) void
BooleanTextWriter.handleNamespace
(String prefix, String uri) void
BooleanTextWriter.handleStylesheet
(String stylesheetUrl) void
BooleanTextParser.parseQueryResult
(InputStream in) void
BooleanTextWriter.startDocument()
void
BooleanTextWriter.startHeader()
-
Uses of QueryResultHandlerException in org.eclipse.rdf4j.query.resultio.text.csv
Modifier and TypeMethodDescriptionvoid
SPARQLResultsCSVWriter.endHeader()
void
SPARQLResultsCSVWriter.handleBoolean
(boolean value) void
SPARQLResultsCSVWriter.handleLinks
(List<String> linkUrls) void
SPARQLResultsCSVWriter.handleNamespace
(String prefix, String uri) void
SPARQLResultsCSVWriter.handleStylesheet
(String stylesheetUrl) void
SPARQLResultsCSVWriter.startDocument()
void
SPARQLResultsCSVWriter.startHeader()
-
Uses of QueryResultHandlerException in org.eclipse.rdf4j.query.resultio.text.tsv
Modifier and TypeMethodDescriptionvoid
SPARQLResultsTSVWriter.handleBoolean
(boolean value) void
SPARQLResultsTSVWriter.handleNamespace
(String prefix, String uri) -
Uses of QueryResultHandlerException in org.eclipse.rdf4j.testsuite.query.resultio
Modifier and TypeMethodDescriptionprotected void
AbstractQueryResultIOTest.assertQueryResultsEqual
(TupleQueryResult expected, TupleQueryResult output) protected 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.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.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) -
Uses of QueryResultHandlerException in org.eclipse.rdf4j.workbench.commands
Modifier and TypeMethodDescriptionprotected void
AddServlet.doPost
(WorkbenchRequest req, javax.servlet.http.HttpServletResponse resp, String xslPath) protected void
ClearServlet.doPost
(WorkbenchRequest req, javax.servlet.http.HttpServletResponse resp, String xslPath) protected void
RemoveServlet.doPost
(WorkbenchRequest req, javax.servlet.http.HttpServletResponse resp, String xslPath) void
AddServlet.service
(TupleResultBuilder builder, String xslPath) void
ClearServlet.service
(TupleResultBuilder builder, String xslPath) protected void
ContextsServlet.service
(TupleResultBuilder builder, RepositoryConnection con) protected void
CreateServlet.service
(WorkbenchRequest req, javax.servlet.http.HttpServletResponse resp, String xslPath) GET requests to this servlet come from the Workbench side bar or from create.xsl form submissions.void
DeleteServlet.service
(TupleResultBuilder builder, String xslPath) Presents a page where the user can choose a repository ID to delete.void
InformationServlet.service
(TupleResultBuilder builder, String xslPath) void
NamespacesServlet.service
(TupleResultBuilder builder, String xslPath) void
RemoveServlet.service
(TupleResultBuilder builder, String xslPath) void
RepositoriesServlet.service
(TupleResultBuilder builder, String xslPath) void
SummaryServlet.service
(TupleResultBuilder builder, String xslPath) void
UpdateServlet.service
(TupleResultBuilder builder, String xslPath) -
Uses of QueryResultHandlerException in org.eclipse.rdf4j.workbench.util
Modifier and TypeMethodDescriptionTupleResultBuilder.bool
(boolean result) TupleResultBuilder.end()
This must be called ifTupleResultBuilder.start(String...)
is used, after all results are generated using eitherTupleResultBuilder.namedResult(String, Object)
orTupleResultBuilder.result(Object...)
.void
QueryEvaluator.evaluateTupleQuery
(TupleResultBuilder builder, String xslPath, WorkbenchRequest req, javax.servlet.http.HttpServletResponse resp, CookieHandler cookies, TupleQuery query, boolean writeCookie, boolean paged, int offset, int limit) Evaluate a tuple query, and create an XML results document.void
QueryEvaluator.evaluateTupleQuery
(TupleResultBuilder builder, TupleQuery query) Evaluate a tuple query, and create an XML results document.TupleResultBuilder.namedResult
(String name, Object result) TupleResultBuilder.start(String...)
must be called before using this method.void
TupleResultBuilder.start(String...)
must be called before using this method.void
QueryStorage.selectSavedQueries
(HTTPRepository repository, String userName, TupleResultBuilder builder) Prepares a query to retrieve the queries accessible to the given user in the given repository.This must be called before callingTupleResultBuilder.namedResult(String, Object)
orTupleResultBuilder.result(Object...)
.