Package | Description |
---|---|
org.eclipse.rdf4j.query.resultio | |
org.eclipse.rdf4j.query.resultio.binary | |
org.eclipse.rdf4j.query.resultio.sparqljson |
A writer for the
SPARQL Query Results JSON Format
|
org.eclipse.rdf4j.query.resultio.sparqlxml |
Parsers and writers for the
SPARQL Query Results XML Format
|
org.eclipse.rdf4j.query.resultio.text | |
org.eclipse.rdf4j.query.resultio.text.csv | |
org.eclipse.rdf4j.query.resultio.text.tsv |
Modifier and Type | Method and Description |
---|---|
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.doBooleanNoHandler(BooleanQueryResultFormat format,
boolean input)
Tests that parsing a boolean without specifying a
BooleanQueryResultHandler does not throw any
exceptions. |
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.doTupleNoHandler(TupleQueryResultFormat format,
TupleQueryResult input,
TupleQueryResult expected)
Tests that parsing a tuple results set without specifying a
TupleQueryResultHandler does not throw any
exceptions. |
protected void |
AbstractQueryResultIOTest.doTupleNoLinks(TupleQueryResultFormat format,
TupleQueryResult input,
TupleQueryResult expected) |
protected void |
AbstractQueryResultIOTest.doTupleStylesheet(TupleQueryResultFormat format,
TupleQueryResult input,
TupleQueryResult expected,
String stylesheetUrl) |
boolean |
BooleanQueryResultParser.parse(InputStream in)
Deprecated.
Use
QueryResultParser.parseQueryResult(InputStream) instead. |
void |
TupleQueryResultParser.parse(InputStream in)
Deprecated.
Use
QueryResultParser.parseQueryResult(InputStream) instead. |
static boolean |
QueryResultIO.parseBoolean(InputStream in,
QueryResultFormat format)
Parses a boolean query result document and returns the parsed value.
|
void |
QueryResultParser.parseQueryResult(InputStream in)
Parse the query results out of the given
InputStream into the handler setup using
QueryResultParser.setQueryResultHandler(QueryResultHandler) . |
void |
AbstractTupleQueryResultParser.parseQueryResult(InputStream in) |
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.
|
Modifier and Type | Method and Description |
---|---|
void |
BinaryQueryResultParser.parse(InputStream in) |
Modifier and Type | Method and Description |
---|---|
boolean |
SPARQLBooleanJSONParser.parse(InputStream in)
Deprecated.
|
void |
SPARQLResultsJSONParser.parse(InputStream in)
Deprecated.
|
void |
AbstractSPARQLJSONParser.parseQueryResult(InputStream in) |
protected boolean |
AbstractSPARQLJSONParser.parseQueryResultInternal(InputStream in,
boolean attemptParseBoolean,
boolean attemptParseTuple) |
Modifier and Type | Method and Description |
---|---|
void |
SPARQLResultsXMLParser.parse(InputStream in)
Deprecated.
|
boolean |
SPARQLBooleanXMLParser.parse(InputStream in)
Deprecated.
|
void |
SPARQLResultsXMLParser.parseQueryResult(InputStream in) |
void |
SPARQLBooleanXMLParser.parseQueryResult(InputStream in) |
void |
AbstractSPARQLXMLParser.parseQueryResult(InputStream in) |
protected boolean |
AbstractSPARQLXMLParser.parseQueryResultInternal(InputStream in,
boolean attemptParseBoolean,
boolean attemptParseTuple) |
Modifier and Type | Method and Description |
---|---|
boolean |
BooleanTextParser.parse(InputStream in) |
void |
BooleanTextParser.parseQueryResult(InputStream in) |
Modifier and Type | Method and Description |
---|---|
void |
SPARQLResultsCSVParser.parse(InputStream in) |
Modifier and Type | Method and Description |
---|---|
void |
SPARQLResultsTSVParser.parse(InputStream in) |
Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.