Package | Description |
---|---|
org.openrdf.http.client | |
org.openrdf.query.resultio | |
org.openrdf.query.resultio.binary | |
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.csv | |
org.openrdf.query.resultio.text.tsv | |
org.openrdf.repository.http |
A repository that serves as a proxy client for a remote
repository on a Sesame Server.
|
Modifier and Type | Method and Description |
---|---|
TupleQueryResultFormat |
SparqlSession.getPreferredTupleQueryResultFormat()
Gets the preferred
TupleQueryResultFormat for encoding tuple query
results. |
Modifier and Type | Method and Description |
---|---|
void |
SparqlSession.setPreferredTupleQueryResultFormat(TupleQueryResultFormat format)
Sets the preferred format for encoding tuple query results.
|
Modifier and Type | Field and Description |
---|---|
static TupleQueryResultFormat |
TupleQueryResultFormat.BINARY
Binary RDF results table format.
|
static TupleQueryResultFormat |
TupleQueryResultFormat.CSV
SPARQL Query Result CSV Format.
|
static TupleQueryResultFormat |
TupleQueryResultFormat.JSON
SPARQL Query Results JSON Format.
|
static TupleQueryResultFormat |
TupleQueryResultFormat.SPARQL
SPARQL Query Results XML Format.
|
static TupleQueryResultFormat |
TupleQueryResultFormat.TSV
SPARQL Query Result TSV Format.
|
Modifier and Type | Method and Description |
---|---|
static TupleQueryResultFormat |
TupleQueryResultFormat.forFileName(String fileName)
Tries to determine the appropriate tuple file format for a file, based on
the extension specified in a file name.
|
static TupleQueryResultFormat |
TupleQueryResultFormat.forFileName(String fileName,
TupleQueryResultFormat fallback)
Tries to determine the appropriate tuple file format for a file, based on
the extension specified in a file name.
|
static TupleQueryResultFormat |
TupleQueryResultFormat.forMIMEType(String mimeType)
Tries to determine the appropriate tuple file format based on the a MIME
type that describes the content type.
|
static TupleQueryResultFormat |
TupleQueryResultFormat.forMIMEType(String mimeType,
TupleQueryResultFormat fallback)
Tries to determine the appropriate tuple file format based on the a MIME
type that describes the content type.
|
protected TupleQueryResultFormat |
TupleQueryResultParserRegistry.getKey(TupleQueryResultParserFactory factory) |
protected TupleQueryResultFormat |
TupleQueryResultWriterRegistry.getKey(TupleQueryResultWriterFactory factory) |
protected abstract TupleQueryResultFormat |
AbstractQueryResultIOBooleanTest.getMatchingTupleFormatOrNull() |
static TupleQueryResultFormat |
QueryResultIO.getParserFormatForFileName(String fileName)
Tries to match the extension of a file name against the list of RDF
formats that can be parsed.
|
static TupleQueryResultFormat |
QueryResultIO.getParserFormatForFileName(String fileName,
TupleQueryResultFormat fallback)
Tries to match the extension of a file name against the list of RDF
formats that can be parsed.
|
static TupleQueryResultFormat |
QueryResultIO.getParserFormatForMIMEType(String mimeType)
Tries to match a MIME type against the list of tuple query result formats
that can be parsed.
|
static TupleQueryResultFormat |
QueryResultIO.getParserFormatForMIMEType(String mimeType,
TupleQueryResultFormat fallback)
Tries to match a MIME type against the list of tuple query result formats
that can be parsed.
|
protected abstract TupleQueryResultFormat |
AbstractQueryResultIOTupleTest.getTupleFormat() |
TupleQueryResultFormat |
TupleQueryResultParser.getTupleQueryResultFormat()
Gets the query result format that this parser can parse.
|
TupleQueryResultFormat |
TupleQueryResultParserFactory.getTupleQueryResultFormat()
Returns the tuple query result format for this factory.
|
TupleQueryResultFormat |
TupleQueryResultWriterFactory.getTupleQueryResultFormat()
Returns the tuple query result format for this factory.
|
TupleQueryResultFormat |
TupleQueryResultWriter.getTupleQueryResultFormat()
Gets the query result format that this writer uses.
|
static TupleQueryResultFormat |
QueryResultIO.getWriterFormatForFileName(String fileName)
Tries to match the extension of a file name against the list of RDF
formats that can be written.
|
static TupleQueryResultFormat |
QueryResultIO.getWriterFormatForFileName(String fileName,
TupleQueryResultFormat fallback)
Tries to match the extension of a file name against the list of RDF
formats that can be written.
|
static TupleQueryResultFormat |
QueryResultIO.getWriterFormatForMIMEType(String mimeType)
Tries to match a MIME type against the list of tuple query result formats
that can be written.
|
static TupleQueryResultFormat |
QueryResultIO.getWriterFormatForMIMEType(String mimeType,
TupleQueryResultFormat fallback)
Tries to match a MIME type against the list of tuple query result formats
that can be written.
|
static TupleQueryResultFormat |
TupleQueryResultFormat.register(String name,
String mimeType,
String fileExt)
Registers the specified tuple query result format.
|
Modifier and Type | Method and Description |
---|---|
static Collection<TupleQueryResultFormat> |
TupleQueryResultFormat.values()
Returns all known/registered tuple query result formats.
|
Modifier and Type | Method and Description |
---|---|
static TupleQueryResultParser |
QueryResultIO.createParser(TupleQueryResultFormat format)
Convenience methods for creating TupleQueryResultParser objects.
|
static TupleQueryResultParser |
QueryResultIO.createParser(TupleQueryResultFormat format,
ValueFactory valueFactory)
Convenience methods for creating TupleQueryResultParser objects that use
the specified ValueFactory to create RDF model objects.
|
static TupleQueryResultWriter |
QueryResultIO.createWriter(TupleQueryResultFormat format,
OutputStream out)
Convenience methods for creating TupleQueryResultWriter objects.
|
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.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.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) |
static TupleQueryResultFormat |
TupleQueryResultFormat.forFileName(String fileName,
TupleQueryResultFormat fallback)
Tries to determine the appropriate tuple file format for a file, based on
the extension specified in a file name.
|
static TupleQueryResultFormat |
TupleQueryResultFormat.forMIMEType(String mimeType,
TupleQueryResultFormat fallback)
Tries to determine the appropriate tuple file format based on the a MIME
type that describes the content type.
|
static TupleQueryResultFormat |
QueryResultIO.getParserFormatForFileName(String fileName,
TupleQueryResultFormat fallback)
Tries to match the extension of a file name against the list of RDF
formats that can be parsed.
|
static TupleQueryResultFormat |
QueryResultIO.getParserFormatForMIMEType(String mimeType,
TupleQueryResultFormat fallback)
Tries to match a MIME type against the list of tuple query result formats
that can be parsed.
|
static TupleQueryResultFormat |
QueryResultIO.getWriterFormatForFileName(String fileName,
TupleQueryResultFormat fallback)
Tries to match the extension of a file name against the list of RDF
formats that can be written.
|
static TupleQueryResultFormat |
QueryResultIO.getWriterFormatForMIMEType(String mimeType,
TupleQueryResultFormat fallback)
Tries to match a MIME type against the list of tuple query result formats
that can be written.
|
static TupleQueryResult |
QueryResultIO.parse(InputStream in,
TupleQueryResultFormat format)
Parses a query result document and returns it as a TupleQueryResult
object.
|
static void |
QueryResultIO.parse(InputStream in,
TupleQueryResultFormat format,
TupleQueryResultHandler handler,
ValueFactory valueFactory)
Parses a query result document, reporting the parsed solutions to the
supplied TupleQueryResultHandler.
|
static void |
TupleQueryResultFormat.register(TupleQueryResultFormat format)
Registers the specified tuple query result format.
|
static void |
QueryResultIO.write(TupleQueryResult tqr,
TupleQueryResultFormat format,
OutputStream out)
Writes a query result document in a specific query result format to an
output stream.
|
Modifier and Type | Method and Description |
---|---|
TupleQueryResultFormat |
BinaryQueryResultWriter.getQueryResultFormat() |
TupleQueryResultFormat |
BinaryQueryResultParserFactory.getTupleQueryResultFormat()
Returns
BINARY . |
TupleQueryResultFormat |
BinaryQueryResultParser.getTupleQueryResultFormat() |
TupleQueryResultFormat |
BinaryQueryResultWriterFactory.getTupleQueryResultFormat()
Returns
BINARY . |
TupleQueryResultFormat |
BinaryQueryResultWriter.getTupleQueryResultFormat() |
Modifier and Type | Method and Description |
---|---|
TupleQueryResultFormat |
SPARQLResultsJSONWriter.getQueryResultFormat() |
TupleQueryResultFormat |
SPARQLResultsJSONWriterFactory.getTupleQueryResultFormat()
Returns
JSON . |
TupleQueryResultFormat |
SPARQLResultsJSONParser.getTupleQueryResultFormat() |
TupleQueryResultFormat |
SPARQLResultsJSONWriter.getTupleQueryResultFormat() |
TupleQueryResultFormat |
SPARQLResultsJSONParserFactory.getTupleQueryResultFormat()
Returns
JSON . |
Modifier and Type | Method and Description |
---|---|
TupleQueryResultFormat |
SPARQLResultsXMLWriter.getQueryResultFormat() |
TupleQueryResultFormat |
SPARQLResultsXMLWriter.getTupleQueryResultFormat() |
TupleQueryResultFormat |
SPARQLResultsXMLParserFactory.getTupleQueryResultFormat()
Returns
SPARQL . |
TupleQueryResultFormat |
SPARQLResultsXMLWriterFactory.getTupleQueryResultFormat()
Returns
SPARQL . |
TupleQueryResultFormat |
SPARQLResultsXMLParser.getTupleQueryResultFormat() |
Modifier and Type | Method and Description |
---|---|
TupleQueryResultFormat |
SPARQLResultsCSVWriter.getQueryResultFormat() |
TupleQueryResultFormat |
SPARQLResultsCSVParser.getTupleQueryResultFormat() |
TupleQueryResultFormat |
SPARQLResultsCSVWriterFactory.getTupleQueryResultFormat()
Returns
CSV . |
TupleQueryResultFormat |
SPARQLResultsCSVWriter.getTupleQueryResultFormat() |
TupleQueryResultFormat |
SPARQLResultsCSVParserFactory.getTupleQueryResultFormat()
Returns
CSV . |
Modifier and Type | Method and Description |
---|---|
TupleQueryResultFormat |
SPARQLResultsTSVWriter.getQueryResultFormat() |
TupleQueryResultFormat |
SPARQLResultsTSVParser.getTupleQueryResultFormat() |
TupleQueryResultFormat |
SPARQLResultsTSVWriterFactory.getTupleQueryResultFormat()
Returns
TSV . |
TupleQueryResultFormat |
SPARQLResultsTSVParserFactory.getTupleQueryResultFormat()
Returns
TSV . |
TupleQueryResultFormat |
SPARQLResultsTSVWriter.getTupleQueryResultFormat() |
Modifier and Type | Method and Description |
---|---|
TupleQueryResultFormat |
HTTPRepository.getPreferredTupleQueryResultFormat()
Indicates the current preferred
TupleQueryResultFormat . |
Modifier and Type | Method and Description |
---|---|
void |
HTTPRepository.setPreferredTupleQueryResultFormat(TupleQueryResultFormat format)
Sets the preferred serialization format for tuple query results to the
supplied
TupleQueryResultFormat , overriding the
SparqlSession 's default preference. |
Copyright © 2001–2015 Aduna. All rights reserved.