Uses of Class
org.eclipse.rdf4j.query.QueryResultHandlerException
-
Packages that use QueryResultHandlerException Package Description org.eclipse.rdf4j.console.util org.eclipse.rdf4j.query Interfaces and classes for handling queries and query results.org.eclipse.rdf4j.query.dawg Functionality to convert tuple query results to and from the Data Access Working Group Test Result Set RDF Vocabularyorg.eclipse.rdf4j.query.resultio org.eclipse.rdf4j.query.resultio.binary org.eclipse.rdf4j.query.resultio.helpers org.eclipse.rdf4j.query.resultio.sparqljson A writer for the SPARQL Query Results JSON Formatorg.eclipse.rdf4j.query.resultio.sparqlxml Parsers and writers for the SPARQL Query Results XML Formatorg.eclipse.rdf4j.query.resultio.text org.eclipse.rdf4j.query.resultio.text.csv org.eclipse.rdf4j.query.resultio.text.tsv org.eclipse.rdf4j.testsuite.query.resultio org.eclipse.rdf4j.workbench.commands org.eclipse.rdf4j.workbench.util -
-
Uses of QueryResultHandlerException in org.eclipse.rdf4j.console.util
Methods in org.eclipse.rdf4j.console.util that throw QueryResultHandlerException Modifier and Type Method Description void
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
Subclasses of QueryResultHandlerException in org.eclipse.rdf4j.query Modifier and Type Class Description class
BooleanQueryResultHandlerException
An exception that can be thrown by an BooleanQueryResultHandler when it encounters an unrecoverable error.class
TupleQueryResultHandlerException
An exception that can be thrown by an TupleQueryResultHandler when it encounters an unrecoverable error.Methods in org.eclipse.rdf4j.query that throw QueryResultHandlerException Modifier and Type Method Description void
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
Methods in org.eclipse.rdf4j.query.dawg that throw QueryResultHandlerException Modifier and Type Method Description void
DAWGTestResultSetWriter. handleBoolean(boolean value)
void
DAWGTestResultSetWriter. handleLinks(List<String> linkUrls)
-
Uses of QueryResultHandlerException in org.eclipse.rdf4j.query.resultio
Methods in org.eclipse.rdf4j.query.resultio that throw QueryResultHandlerException Modifier and Type Method Description void
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
Methods in org.eclipse.rdf4j.query.resultio.binary that throw QueryResultHandlerException Modifier and Type Method Description void
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
Methods in org.eclipse.rdf4j.query.resultio.helpers that throw QueryResultHandlerException Modifier and Type Method Description List<String>
QueryResultCollector. getBindingNames()
Returns a collection of binding names collected.List<BindingSet>
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
Methods in org.eclipse.rdf4j.query.resultio.sparqljson that throw QueryResultHandlerException Modifier and Type Method Description void
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
Methods in org.eclipse.rdf4j.query.resultio.sparqlxml that throw QueryResultHandlerException Modifier and Type Method Description void
AbstractSPARQLXMLParser. parseQueryResult(InputStream in)
protected boolean
AbstractSPARQLXMLParser. parseQueryResultInternal(InputStream in, boolean attemptParseBoolean, boolean attemptParseTuple)
-
Uses of QueryResultHandlerException in org.eclipse.rdf4j.query.resultio.text
Methods in org.eclipse.rdf4j.query.resultio.text that throw QueryResultHandlerException Modifier and Type Method Description void
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
Methods in org.eclipse.rdf4j.query.resultio.text.csv that throw QueryResultHandlerException Modifier and Type Method Description void
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
Methods in org.eclipse.rdf4j.query.resultio.text.tsv that throw QueryResultHandlerException Modifier and Type Method Description void
SPARQLResultsTSVWriter. handleBoolean(boolean value)
void
SPARQLResultsTSVWriter. handleNamespace(String prefix, String uri)
-
Uses of QueryResultHandlerException in org.eclipse.rdf4j.testsuite.query.resultio
Methods in org.eclipse.rdf4j.testsuite.query.resultio that throw QueryResultHandlerException Modifier and Type Method Description protected 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
Methods in org.eclipse.rdf4j.workbench.commands that throw QueryResultHandlerException Modifier and Type Method Description protected 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
Methods in org.eclipse.rdf4j.workbench.util that throw QueryResultHandlerException Modifier and Type Method Description TupleResultBuilder
TupleResultBuilder. bool(boolean result)
TupleResultBuilder
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
TupleResultBuilder. link(List<String> url)
TupleResultBuilder
TupleResultBuilder. namedResult(String name, Object result)
TupleResultBuilder.start(String...)
must be called before using this method.void
TupleResultBuilder. prefix(String prefix, String namespace)
TupleResultBuilder
TupleResultBuilder. result(Object... result)
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.TupleResultBuilder
TupleResultBuilder. start(String... variables)
This must be called before callingTupleResultBuilder.namedResult(String, Object)
orTupleResultBuilder.result(Object...)
.TupleResultBuilder
TupleResultBuilder. transform(String path, String xsl)
TupleResultBuilder
TupleResultBuilder. variables(String... names)
-