Uses of Class
org.apache.jena.riot.RDFFormat
Package
Description
ARQ - A query engine for Jena, implementing SPARQL.
-
Uses of RDFFormat in org.apache.jena.http
Modifier and TypeFieldDescriptionstatic final RDFFormat
HttpEnv.defaultQuadsFormat
static final RDFFormat
HttpEnv.defaultTriplesFormat
Modifier and TypeMethodDescriptionstatic void
HttpRDF.httpPostDataset
(HttpClient httpClient, String url, DatasetGraph dataset, RDFFormat format) static void
HttpRDF.httpPostDataset
(HttpClient httpClient, String url, DatasetGraph dataset, RDFFormat format, Map<String, String> httpHeaders) static void
HttpRDF.httpPostGraph
(HttpClient httpClient, String url, org.apache.jena.graph.Graph graph, RDFFormat format) static void
HttpRDF.httpPostGraph
(HttpClient httpClient, String url, org.apache.jena.graph.Graph graph, RDFFormat format, Map<String, String> httpHeaders) static org.apache.jena.graph.Graph
HttpRDF.httpPostGraphRtn
(HttpClient httpClient, String url, org.apache.jena.graph.Graph graph, RDFFormat format, Map<String, String> httpHeaders) Post a graph and expect an RDF graph back as the result.static void
HttpRDF.httpPutDataset
(HttpClient httpClient, String url, DatasetGraph dataset, RDFFormat format) static void
HttpRDF.httpPutDataset
(HttpClient httpClient, String url, DatasetGraph dataset, RDFFormat format, Map<String, String> httpHeaders) static void
HttpRDF.httpPutGraph
(HttpClient httpClient, String url, org.apache.jena.graph.Graph graph, RDFFormat fmt) static void
HttpRDF.httpPutGraph
(HttpClient httpClient, String url, org.apache.jena.graph.Graph graph, RDFFormat format, Map<String, String> httpHeaders) -
Uses of RDFFormat in org.apache.jena.query
Modifier and TypeMethodDescriptionModelStore.contentType
(RDFFormat rdfFormat) Set the Content-type for a POST, PUT request of a file or serialization of a graph of dataset is necessary. -
Uses of RDFFormat in org.apache.jena.riot
Modifier and TypeFieldDescriptionstatic final RDFFormat
RDFFormat.JSONLD
static final RDFFormat
RDFFormat.JSONLD_FLAT
static final RDFFormat
RDFFormat.JSONLD_PLAIN
static final RDFFormat
RDFFormat.JSONLD_PRETTY
static RDFFormat
RDFFormat.JSONLD11
JSON LD 1.1 default form - multi-line JSONstatic RDFFormat
RDFFormat.JSONLD11_FLAT
JSON LD 1.1 - single-line JSONstatic RDFFormat
RDFFormat.JSONLD11_PLAIN
JSON LD 1.1 - multi-line JSONstatic RDFFormat
RDFFormat.JSONLD11_PRETTY
JSON LD 1.1 - multi-line JSON - prefixes and native types.static final RDFFormat
RDFFormat.NQ
N-Quads - RDF 1.1 form - UTF-8static final RDFFormat
RDFFormat.NQUADS
N-Quads - RDF 1.1 form - UTF-8static final RDFFormat
RDFFormat.NQUADS_ASCII
N-Quads - Use ASCIIstatic final RDFFormat
RDFFormat.NQUADS_UTF8
N-Quads in UTF-8static final RDFFormat
RDFFormat.NT
N-Triples - RDF 1.1 form - UTF-8static final RDFFormat
RDFFormat.NTRIPLES
N-Triples - RDF 1.1 form - UTF-8static final RDFFormat
RDFFormat.NTRIPLES_ASCII
N-Triples - Use ASCIIstatic final RDFFormat
RDFFormat.NTRIPLES_UTF8
N-Triples in UTF-8static final RDFFormat
RDFFormat.RDF_PROTO
RDF Protobuf output.static final RDFFormat
RDFFormat.RDF_PROTO_VALUES
A variant of an an RDFFormat that uses value encoding (e.g. integers, doubles, decimals as binary).static final RDFFormat
RDFFormat.RDF_THRIFT
RDF Thrift output.static final RDFFormat
RDFFormat.RDF_THRIFT_VALUES
A variant of an an RDFFormat that uses value encoding (e.g. integers, doubles, decimals as binary).static final RDFFormat
RDFFormat.RDFJSON
static final RDFFormat
RDFFormat.RDFNULL
The "null" output format (a sink that prints nothing, usually quite efficiently)static final RDFFormat
RDFFormat.RDFRAW
Stream-only output format for development - flushes every line.static final RDFFormat
RDFFormat.RDFXML
static final RDFFormat
RDFFormat.RDFXML_ABBREV
static final RDFFormat
RDFFormat.RDFXML_PLAIN
static final RDFFormat
RDFFormat.RDFXML_PRETTY
static final RDFFormat
RDFFormat.SHACLC
SHACL Compact Syntaxstatic final RDFFormat
RDFFormat.TRIG
TriG - default formstatic final RDFFormat
RDFFormat.TRIG_BLOCKS
TriG - write in blocks of triples, with same subject, no nested object or RDF listsstatic final RDFFormat
RDFFormat.TRIG_FLAT
TriG - one line per triplestatic final RDFFormat
RDFFormat.TRIG_LONG
TriG - with fixed indentation width and linebreaks after each sequence elementstatic final RDFFormat
RDFFormat.TRIG_PRETTY
TriG - pretty formstatic final RDFFormat
RDFFormat.TRIX
static final RDFFormat
RDFFormat.TTL
Turtle - short namestatic final RDFFormat
RDFFormat.TURTLE
Turtle - default formstatic final RDFFormat
RDFFormat.TURTLE_BLOCKS
Turtle - write in blocks of triples, with same subject, no nested object or RDF listsstatic final RDFFormat
RDFFormat.TURTLE_FLAT
Turtle - one line per triplestatic final RDFFormat
RDFFormat.TURTLE_LONG
Turtle - with fixed indentation width and linebreaks after each sequence elementstatic final RDFFormat
RDFFormat.TURTLE_PRETTY
Turtle - pretty formModifier and TypeMethodDescriptionstatic RDFFormat
RDFWriterRegistry.defaultSerialization
(Lang lang) Return the format registered as the default for the languageModifier and TypeMethodDescriptionstatic Collection<RDFFormat>
RDFWriterRegistry.registeredDatasetFormats()
All registered dataset formatsstatic Collection<RDFFormat>
RDFWriterRegistry.registeredFormats()
All registered formatsstatic Collection<RDFFormat>
RDFWriterRegistry.registeredGraphFormats()
All registered graph formatsModifier and TypeMethodDescriptionstatic boolean
Is the RDFFormat registered for use?Set the output format to aRDFFormat
.static WriterDatasetRIOTFactory
RDFWriterRegistry.getWriterDatasetFactory
(RDFFormat serialization) Get the dataset writer factory associated with the output formatstatic WriterGraphRIOTFactory
RDFWriterRegistry.getWriterGraphFactory
(RDFFormat serialization) Get the graph writer factory associated with the output formatstatic void
Register the default serialization for the language (replace any existing registration).static void
RDFWriterRegistry.register
(RDFFormat serialization, WriterDatasetRIOTFactory datasetWriterFactory) Register the serialization for datasets and it's associated factorystatic void
RDFWriterRegistry.register
(RDFFormat serialization, WriterGraphRIOTFactory graphWriterFactory) Register the serialization for graphs and it's associated factorystatic void
RDFDataMgr.write
(OutputStream out, org.apache.jena.graph.Graph graph, RDFFormat serialization) Write the graph to the output stream in the default serialization for the language.static void
RDFDataMgr.write
(OutputStream out, Dataset dataset, RDFFormat serialization) Write the graph to the output stream in the default serialization for the language.static void
RDFDataMgr.write
(OutputStream out, org.apache.jena.rdf.model.Model model, RDFFormat serialization) Write the model to the output stream in the default serialization for the language.static void
RDFDataMgr.write
(OutputStream out, DatasetGraph dataset, RDFFormat serialization) Write the graph to the output stream in the default serialization for the language.static void
RDFDataMgr.write
(StringWriter out, org.apache.jena.graph.Graph graph, RDFFormat serialization) Write the graph to the output stream in the default serialization for the language.static void
RDFDataMgr.write
(StringWriter out, Dataset dataset, RDFFormat serialization) Write the graph to the output stream in the default serialization for the language.static void
RDFDataMgr.write
(StringWriter out, org.apache.jena.rdf.model.Model model, RDFFormat serialization) Write the graph to the output stream in the default serialization for the language.static void
RDFDataMgr.write
(StringWriter out, DatasetGraph dataset, RDFFormat serialization) Write the graph to the output stream in the default serialization for the language. -
Uses of RDFFormat in org.apache.jena.riot.protobuf
ModifierConstructorDescription -
Uses of RDFFormat in org.apache.jena.riot.system
Modifier and TypeMethodDescriptionstatic RDFFormat
StreamRDFWriter.defaultSerialization
(Lang lang) Return the format registered as the default for the languageStreamRDFWriter.WriterRegistry.defaultSerialization
(Lang lang) Return the format registered as the default for the languageModifier and TypeMethodDescriptionboolean
Return true if the format is registeredStreamRDFWriterFactory.create
(OutputStream output, RDFFormat format, Context context) Return the T for a given RDFFormat.static StreamRDF
StreamRDFWriter.getWriterStream
(OutputStream output, RDFFormat format) Get a StreamRDF destination that will output in syntaxRDFFormat
and is guaranteed to do so in a scaling, streaming fashion.static StreamRDF
StreamRDFWriter.getWriterStream
(OutputStream output, RDFFormat format, Context context) Get a StreamRDF destination that will output in syntaxRDFFormat
and is guaranteed to do so in a scaling, streaming fashion.static void
Register the default serialization for the language (replace any existing registration).static void
StreamRDFWriter.register
(RDFFormat serialization, StreamRDFWriterFactory streamWriterFactory) Register the serialization for datasets and it's associated factoryvoid
Register the default serialization for the language (replace any existing registration).void
Register the serialization for datasets and it's associated factorystatic boolean
StreamRDFWriter.registered
(RDFFormat format) static void
StreamRDFWriter.write
(OutputStream output, org.apache.jena.graph.Graph graph, RDFFormat format) Write a Graph in streaming fashionstatic void
StreamRDFWriter.write
(OutputStream output, org.apache.jena.graph.Graph graph, RDFFormat format, Context context) Write a Graph in streaming fashionstatic void
StreamRDFWriter.write
(OutputStream output, DatasetGraph datasetGraph, RDFFormat format, Context context) Write a DatasetGraph in streaming fashion -
Uses of RDFFormat in org.apache.jena.riot.thrift
ModifierConstructorDescription -
Uses of RDFFormat in org.apache.jena.riot.writer
-
Uses of RDFFormat in org.apache.jena.sparql.exec.http
Modifier and TypeMethodDescriptionStoreProtocol.contentType
(RDFFormat rdfFormat) Set the Content-type for a POST, PUT request of a file or serialization of a graph of dataset is necessary.