Modifier and Type | Method and Description |
---|---|
void |
ConsoleQueryResultWriter.endQueryResult() |
void |
ConsoleQueryResultWriter.handleSolution(BindingSet bindingSet) |
void |
ConsoleQueryResultWriter.startQueryResult(List<String> bindingNames) |
Modifier and Type | Method and Description |
---|---|
void |
FedXTupleQuery.evaluate(TupleQueryResultHandler handler) |
Modifier and Type | Method and Description |
---|---|
void |
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 provided
TupleQueryResultHandler . |
void |
SPARQLProtocolSession.sendTupleQuery(QueryLanguage ql,
String query,
String baseURI,
Dataset dataset,
boolean includeInferred,
int maxQueryTime,
TupleQueryResultHandler handler,
Binding... bindings) |
Modifier and Type | Method and Description |
---|---|
void |
QueryResultHandler.endQueryResult()
Indicates the end of a sequence of solutions.
|
void |
AbstractTupleQueryResultHandler.endQueryResult() |
void |
TupleQuery.evaluate(TupleQueryResultHandler handler) |
void |
QueryResultHandler.handleSolution(BindingSet bindingSet)
Handles a solution.
|
void |
AbstractTupleQueryResultHandler.handleSolution(BindingSet bindingSet) |
static void |
QueryResults.report(TupleQueryResult tqr,
QueryResultHandler handler)
Reports a tuple query result to a
TupleQueryResultHandler . |
void |
QueryResultHandler.startQueryResult(List<String> bindingNames)
Indicates the start of a sequence of Solutions.
|
void |
AbstractTupleQueryResultHandler.startQueryResult(List<String> bindingNames) |
Modifier and Type | Method and Description |
---|---|
void |
DAWGTestResultSetWriter.endQueryResult() |
void |
DAWGTestResultSetWriter.handleSolution(BindingSet bindingSet) |
void |
DAWGTestResultSetWriter.startQueryResult(List<String> bindingNames) |
Modifier and Type | Method and Description |
---|---|
void |
TupleQueryResultBuilder.handleSolution(BindingSet bindingSet) |
void |
TupleQueryResultBuilder.startQueryResult(List<String> bindingNames) |
Modifier and Type | Method and Description |
---|---|
protected 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 deprecated
BooleanQueryResultParser.parse(java.io.InputStream) method, and that it does indeed
through an exception of type QueryResultParseException . |
protected void |
AbstractQueryResultIOTest.doTupleNoHandler(TupleQueryResultFormat format,
TupleQueryResult input,
TupleQueryResult expected)
Tests that parsing a tuple results set without specifying a
TupleQueryResultHandler does not throw any
exceptions. |
void |
TupleQueryResultParser.parse(InputStream in)
Deprecated.
Use
QueryResultParser.parseQueryResult(InputStream) instead. |
static TupleQueryResult |
QueryResultIO.parseTuple(InputStream in,
QueryResultFormat format)
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)
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. |
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
BinaryQueryResultWriter.endQueryResult() |
void |
BinaryQueryResultWriter.handleSolution(BindingSet bindingSet) |
void |
BinaryQueryResultParser.parse(InputStream in) |
void |
BinaryQueryResultWriter.startDocument() |
void |
BinaryQueryResultWriter.startQueryResult(List<String> bindingNames) |
Modifier and Type | Method and Description |
---|---|
void |
QueryResultCollector.endQueryResult() |
void |
BackgroundTupleResult.endQueryResult() |
void |
QueryResultCollector.handleSolution(BindingSet bindingSet) |
void |
BackgroundTupleResult.handleSolution(BindingSet bindingSet) |
void |
QueryResultCollector.startQueryResult(List<String> bindingNames) |
void |
BackgroundTupleResult.startQueryResult(List<String> bindingNames) |
Modifier and Type | Method and Description |
---|---|
void |
SPARQLResultsJSONParser.parse(InputStream in)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
SPARQLResultsXMLParser.parse(InputStream in)
Deprecated.
|
void |
SPARQLResultsXMLParser.parseQueryResult(InputStream in) |
Modifier and Type | Method and Description |
---|---|
void |
BooleanTextWriter.endQueryResult() |
void |
BooleanTextWriter.handleSolution(BindingSet bindingSet) |
void |
BooleanTextWriter.startQueryResult(List<String> bindingNames) |
Modifier and Type | Method and Description |
---|---|
void |
SPARQLResultsCSVWriter.endQueryResult() |
void |
SPARQLResultsCSVWriter.handleSolution(BindingSet bindingSet) |
void |
SPARQLResultsCSVParser.parse(InputStream in) |
void |
SPARQLResultsCSVWriter.startQueryResult(List<String> bindingNames) |
Modifier and Type | Method and Description |
---|---|
void |
SPARQLResultsTSVWriter.endHeader() |
void |
SPARQLResultsTSVWriter.endQueryResult() |
void |
SPARQLResultsTSVWriter.handleLinks(List<String> linkUrls) |
void |
SPARQLResultsTSVWriter.handleSolution(BindingSet bindingSet) |
void |
SPARQLResultsTSVWriter.handleStylesheet(String stylesheetUrl) |
void |
SPARQLResultsTSVParser.parse(InputStream in) |
void |
SPARQLResultsTSVWriter.startDocument() |
void |
SPARQLResultsTSVWriter.startHeader() |
void |
SPARQLResultsTSVWriter.startQueryResult(List<String> bindingNames) |
Modifier and Type | Method and Description |
---|---|
void |
HTTPTupleQuery.evaluate(TupleQueryResultHandler handler) |
Modifier and Type | Method and Description |
---|---|
void |
SailTupleQuery.evaluate(TupleQueryResultHandler handler) |
Modifier and Type | Method and Description |
---|---|
void |
SPARQLTupleQuery.evaluate(TupleQueryResultHandler handler) |
Modifier and Type | Method and Description |
---|---|
void |
SailConnectionTupleQuery.evaluate(TupleQueryResultHandler handler) |
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.