| Package | Description |
|---|---|
| org.openrdf.query.resultio |
| 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.
|
Copyright © 2001-2013 Aduna. All Rights Reserved.