Package | Description |
---|---|
org.openrdf.http.client | |
org.openrdf.query |
Interfaces and classes for handling queries and query results.
|
org.openrdf.query.dawg |
Functionality to convert tuple query results to and from the
Data Access Working Group Test Result Set RDF Vocabulary
|
org.openrdf.query.resultio | |
org.openrdf.query.resultio.binary | |
org.openrdf.query.resultio.helpers | |
org.openrdf.query.resultio.sparqljson |
A writer for the SPARQL Query Results JSON Format
|
org.openrdf.query.resultio.sparqlxml |
Parsers and writers for the SPARQL Query Results XML Format
|
org.openrdf.query.resultio.text | |
org.openrdf.query.resultio.text.csv | |
org.openrdf.query.resultio.text.tsv |
Modifier and Type | Method and Description |
---|---|
void |
BackgroundTupleResult.handleBoolean(boolean value) |
void |
BackgroundTupleResult.handleLinks(List<String> linkUrls) |
Modifier and Type | Class and 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.
|
Modifier and Type | Method and Description |
---|---|
void |
QueryResultHandler.handleBoolean(boolean value)
Handles the specified boolean value.
|
void |
TupleQueryResultHandlerBase.handleBoolean(boolean value) |
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.
|
void |
TupleQueryResultHandlerBase.handleLinks(List<String> linkUrls) |
Modifier and Type | Method and Description |
---|---|
void |
DAWGTestResultSetWriter.handleBoolean(boolean value) |
void |
DAWGTestResultSetWriter.handleLinks(List<String> linkUrls) |
Modifier and Type | Method and 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 deprecated
TupleQueryResultParser.parse(java.io.InputStream) method, and that
it does indeed through an exception of type
QueryResultParseException . |
protected void |
AbstractQueryResultIOTest.doTupleStylesheet(TupleQueryResultFormat format,
TupleQueryResult input,
TupleQueryResult expected,
String stylesheetUrl) |
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 |
TupleQueryResultParserBase.parseQueryResult(InputStream in) |
void |
QueryResultParser.parseQueryResult(InputStream in)
Parse the query results out of the given
InputStream into the
handler setup using QueryResultParser.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,
BooleanQueryResultFormat format,
OutputStream out)
Writes a boolean query result document in a specific boolean query result
format to an output stream.
|
Modifier and Type | Method and 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() |
Modifier and Type | Method and Description |
---|---|
List<String> |
QueryResultCollector.getBindingNames()
Returns a collection of binding names collected.
|
List<BindingSet> |
QueryResultCollector.getBindingSets() |
boolean |
QueryResultCollector.getBoolean()
If
QueryResultCollector.getHandledBoolean() returns true this method returns the
boolean that was last found using QueryResultCollector.handleBoolean(boolean) |
void |
QueryResultCollector.handleBoolean(boolean value) |
void |
QueryResultCollector.handleLinks(List<String> linkUrls) |
Modifier and Type | Method and Description |
---|---|
void |
SPARQLJSONParserBase.parseQueryResult(InputStream in) |
protected boolean |
SPARQLJSONParserBase.parseQueryResultInternal(InputStream in,
boolean attemptParseBoolean,
boolean attemptParseTuple) |
Modifier and Type | Method and Description |
---|---|
void |
SPARQLXMLParserBase.parseQueryResult(InputStream in) |
protected boolean |
SPARQLXMLParserBase.parseQueryResultInternal(InputStream in,
boolean attemptParseBoolean,
boolean attemptParseTuple) |
Modifier and Type | Method and 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() |
Modifier and Type | Method and 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() |
Modifier and Type | Method and Description |
---|---|
void |
SPARQLResultsTSVWriter.handleBoolean(boolean value) |
void |
SPARQLResultsTSVWriter.handleNamespace(String prefix,
String uri) |
Copyright © 2001–2015 Aduna. All rights reserved.