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 for a remote repository on a Sesame server.
|
Modifier and Type | Method and Description |
---|---|
TupleQueryResultFormat |
HTTPClient.getPreferredTupleQueryResultFormat()
Gets the preferred
TupleQueryResultFormat for encoding tuple query
results. |
Modifier and Type | Method and Description |
---|---|
void |
HTTPClient.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) |
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.
|
TupleQueryResultFormat |
TupleQueryResultWriter.getTupleQueryResultFormat()
Gets the query result format that this writer uses.
|
TupleQueryResultFormat |
TupleQueryResultParserFactory.getTupleQueryResultFormat()
Returns the tuple query result format for this factory.
|
TupleQueryResultFormat |
TupleQueryResultParser.getTupleQueryResultFormat()
Gets the query result format that this parser can parse.
|
TupleQueryResultFormat |
TupleQueryResultWriterFactory.getTupleQueryResultFormat()
Returns the tuple query result format for this factory.
|
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.
|
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 |
BinaryQueryResultWriterFactory.getTupleQueryResultFormat()
Returns
BINARY . |
TupleQueryResultFormat |
BinaryQueryResultWriter.getTupleQueryResultFormat() |
TupleQueryResultFormat |
BinaryQueryResultParserFactory.getTupleQueryResultFormat()
Returns
BINARY . |
TupleQueryResultFormat |
BinaryQueryResultParser.getTupleQueryResultFormat() |
Modifier and Type | Method and Description |
---|---|
TupleQueryResultFormat |
SPARQLResultsJSONWriter.getQueryResultFormat() |
TupleQueryResultFormat |
SPARQLResultsJSONParserFactory.getTupleQueryResultFormat()
Returns
JSON . |
TupleQueryResultFormat |
SPARQLResultsJSONWriterFactory.getTupleQueryResultFormat()
Returns
JSON . |
TupleQueryResultFormat |
SPARQLResultsJSONWriter.getTupleQueryResultFormat() |
TupleQueryResultFormat |
SPARQLResultsJSONParser.getTupleQueryResultFormat() |
Modifier and Type | Method and Description |
---|---|
TupleQueryResultFormat |
SPARQLResultsXMLWriter.getQueryResultFormat() |
TupleQueryResultFormat |
SPARQLResultsXMLWriterFactory.getTupleQueryResultFormat()
Returns
SPARQL . |
TupleQueryResultFormat |
SPARQLResultsXMLWriter.getTupleQueryResultFormat() |
TupleQueryResultFormat |
SPARQLResultsXMLParser.getTupleQueryResultFormat() |
TupleQueryResultFormat |
SPARQLResultsXMLParserFactory.getTupleQueryResultFormat()
Returns
SPARQL . |
Modifier and Type | Method and Description |
---|---|
TupleQueryResultFormat |
SPARQLResultsCSVWriter.getQueryResultFormat() |
TupleQueryResultFormat |
SPARQLResultsCSVParserFactory.getTupleQueryResultFormat()
Returns
CSV . |
TupleQueryResultFormat |
SPARQLResultsCSVParser.getTupleQueryResultFormat() |
TupleQueryResultFormat |
SPARQLResultsCSVWriterFactory.getTupleQueryResultFormat()
Returns
CSV . |
TupleQueryResultFormat |
SPARQLResultsCSVWriter.getTupleQueryResultFormat() |
Modifier and Type | Method and Description |
---|---|
TupleQueryResultFormat |
SPARQLResultsTSVWriter.getQueryResultFormat() |
TupleQueryResultFormat |
SPARQLResultsTSVParser.getTupleQueryResultFormat() |
TupleQueryResultFormat |
SPARQLResultsTSVWriterFactory.getTupleQueryResultFormat()
Returns
TSV . |
TupleQueryResultFormat |
SPARQLResultsTSVWriter.getTupleQueryResultFormat() |
TupleQueryResultFormat |
SPARQLResultsTSVParserFactory.getTupleQueryResultFormat()
Returns
TSV . |
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 HTTPClient
's default preference. |
Copyright © 2001-2013 Aduna. All Rights Reserved.