Uses of Class
org.eclipse.rdf4j.query.TupleQueryResultHandlerException
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
A repository that serves as a proxy client for a remote repository on an RDF4J Server.
Repository implementation for local RDF databases that implement the SAIL SPI.
Rdf4j-Spring OperationLog
Rdf4j-Spring ResultCache
-
Uses of TupleQueryResultHandlerException in org.eclipse.rdf4j.console.util
Modifier and TypeMethodDescriptionvoid
ConsoleQueryResultWriter.endQueryResult()
protected void
ConsoleQueryResultWriter.handleSolutionImpl
(BindingSet bindingSet) void
ConsoleQueryResultWriter.startQueryResult
(List<String> bindingNames) -
Uses of TupleQueryResultHandlerException in org.eclipse.rdf4j.federated.structures
-
Uses of TupleQueryResultHandlerException in org.eclipse.rdf4j.http.client
Modifier and TypeMethodDescriptionvoid
RDF4JProtocolSession.getContextIDs
(TupleQueryResultHandler handler) void
RDF4JProtocolSession.getNamespaces
(TupleQueryResultHandler handler) void
RDF4JProtocolSession.getRepositoryList
(TupleQueryResultHandler handler) protected void
SPARQLProtocolSession.getTupleQueryResult
(org.apache.http.client.methods.HttpUriRequest method, TupleQueryResultHandler handler) Parse the response in this thread using the providedTupleQueryResultHandler
.void
SPARQLProtocolSession.sendTupleQuery
(QueryLanguage ql, String query, String baseURI, Dataset dataset, boolean includeInferred, int maxQueryTime, TupleQueryResultHandler handler, Binding... bindings) -
Uses of TupleQueryResultHandlerException in org.eclipse.rdf4j.query
Modifier and TypeMethodDescriptionvoid
AbstractTupleQueryResultHandler.endQueryResult()
void
QueryResultHandler.endQueryResult()
Indicates the end of a sequence of solutions.void
TupleQuery.evaluate
(TupleQueryResultHandler handler) void
AbstractTupleQueryResultHandler.handleSolution
(BindingSet bindingSet) void
QueryResultHandler.handleSolution
(BindingSet bindingSet) Handles a solution.static void
QueryResults.report
(TupleQueryResult tqr, QueryResultHandler handler) Reports a tuple query result to aTupleQueryResultHandler
.void
AbstractTupleQueryResultHandler.startQueryResult
(List<String> bindingNames) void
QueryResultHandler.startQueryResult
(List<String> bindingNames) Indicates the start of a sequence of Solutions. -
Uses of TupleQueryResultHandlerException in org.eclipse.rdf4j.query.dawg
Modifier and TypeMethodDescriptionvoid
DAWGTestResultSetWriter.endQueryResult()
void
DAWGTestResultSetWriter.handleSolution
(BindingSet bindingSet) void
DAWGTestResultSetWriter.startQueryResult
(List<String> bindingNames) -
Uses of TupleQueryResultHandlerException in org.eclipse.rdf4j.query.impl
Modifier and TypeMethodDescriptionvoid
TupleQueryResultBuilder.handleSolution
(BindingSet bindingSet) void
TupleQueryResultBuilder.startQueryResult
(List<String> bindingNames) -
Uses of TupleQueryResultHandlerException in org.eclipse.rdf4j.query.resultio
Modifier and TypeMethodDescriptionvoid
AbstractQueryResultWriter.handleSolution
(BindingSet bindingSet) protected void
AbstractQueryResultWriter.handleSolutionImpl
(BindingSet bindings) Extending classes must implement this method instead of overridingAbstractQueryResultWriter.handleSolution(BindingSet)
in order to benefit from automatic handling of RDF-star encoding.void
TupleQueryResultParser.parse
(InputStream in) Deprecated.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.void
AbstractQueryResultWriter.startQueryResult
(List<String> bindingNames) static void
QueryResultIO.writeTuple
(TupleQueryResult tqr, QueryResultFormat format, OutputStream out) Writes a query result document in a specific query result format to an output stream. -
Uses of TupleQueryResultHandlerException in org.eclipse.rdf4j.query.resultio.binary
Modifier and TypeMethodDescriptionvoid
BinaryQueryResultWriter.endQueryResult()
protected void
BinaryQueryResultWriter.handleSolutionImpl
(BindingSet bindingSet) void
BinaryQueryResultParser.parse
(InputStream in) void
BinaryQueryResultWriter.startDocument()
void
BinaryQueryResultWriter.startQueryResult
(List<String> bindingNames) -
Uses of TupleQueryResultHandlerException in org.eclipse.rdf4j.query.resultio.helpers
Modifier and TypeMethodDescriptionvoid
BackgroundTupleResult.endQueryResult()
void
QueryResultCollector.endQueryResult()
void
BackgroundTupleResult.handleSolution
(BindingSet bindingSet) void
QueryResultCollector.handleSolution
(BindingSet bindingSet) void
BackgroundTupleResult.startQueryResult
(List<String> bindingNames) void
QueryResultCollector.startQueryResult
(List<String> bindingNames) -
Uses of TupleQueryResultHandlerException in org.eclipse.rdf4j.query.resultio.sparqljson
-
Uses of TupleQueryResultHandlerException in org.eclipse.rdf4j.query.resultio.sparqlxml
Modifier and TypeMethodDescriptionvoid
SPARQLResultsXMLParser.parse
(InputStream in) Deprecated.void
SPARQLResultsXMLParser.parseQueryResult
(InputStream in) -
Uses of TupleQueryResultHandlerException in org.eclipse.rdf4j.query.resultio.text
Modifier and TypeMethodDescriptionvoid
BooleanTextWriter.endQueryResult()
protected void
BooleanTextWriter.handleSolutionImpl
(BindingSet bindingSet) void
BooleanTextWriter.startQueryResult
(List<String> bindingNames) -
Uses of TupleQueryResultHandlerException in org.eclipse.rdf4j.query.resultio.text.csv
Modifier and TypeMethodDescriptionvoid
SPARQLResultsCSVWriter.endQueryResult()
protected void
SPARQLResultsCSVWriter.handleSolutionImpl
(BindingSet bindingSet) void
SPARQLResultsCSVParser.parse
(InputStream in) void
SPARQLResultsCSVWriter.startQueryResult
(List<String> bindingNames) -
Uses of TupleQueryResultHandlerException in org.eclipse.rdf4j.query.resultio.text.tsv
Modifier and TypeMethodDescriptionvoid
SPARQLResultsTSVWriter.endHeader()
void
SPARQLResultsTSVWriter.endQueryResult()
void
SPARQLResultsTSVWriter.handleLinks
(List<String> linkUrls) protected void
SPARQLResultsTSVWriter.handleSolutionImpl
(BindingSet bindingSet) void
SPARQLResultsTSVWriter.handleStylesheet
(String stylesheetUrl) void
SPARQLResultsTSVParser.parse
(InputStream in) void
SPARQLResultsTSVWriter.startDocument()
void
SPARQLResultsTSVWriter.startHeader()
void
SPARQLResultsTSVWriter.startQueryResult
(List<String> bindingNames) -
Uses of TupleQueryResultHandlerException in org.eclipse.rdf4j.repository.http
-
Uses of TupleQueryResultHandlerException in org.eclipse.rdf4j.repository.sail
-
Uses of TupleQueryResultHandlerException in org.eclipse.rdf4j.repository.sparql.query
Modifier and TypeMethodDescriptionvoid
SPARQLTupleQuery.evaluate
(TupleQueryResultHandler handler) -
Uses of TupleQueryResultHandlerException in org.eclipse.rdf4j.spring.operationlog
Modifier and TypeMethodDescriptionvoid
LoggingTupleQuery.evaluate
(TupleQueryResultHandler handler) -
Uses of TupleQueryResultHandlerException in org.eclipse.rdf4j.spring.resultcache
Modifier and TypeMethodDescriptionvoid
ResultCachingTupleQuery.evaluate
(TupleQueryResultHandler handler) -
Uses of TupleQueryResultHandlerException in org.eclipse.rdf4j.spring.support.query
Modifier and TypeMethodDescriptionvoid
DelegatingTupleQuery.evaluate
(TupleQueryResultHandler handler) -
Uses of TupleQueryResultHandlerException in org.eclipse.rdf4j.testsuite.query.resultio
Modifier and TypeMethodDescriptionprotected void
AbstractQueryResultIOTest.assertQueryResultsEqual
(TupleQueryResult expected, TupleQueryResult output) protected 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.doTupleNoHandler
(TupleQueryResultFormat format, TupleQueryResult input, TupleQueryResult expected) Tests that parsing a tuple results set without specifying aTupleQueryResultHandler
does not throw any exceptions.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.