You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by gi...@apache.org on 2021/11/01 13:23:49 UTC
[jena-site] branch asf-site updated: Updated site from main
(1169fb8c2419589fb2120e1ce46bfd1bf58f779f)
This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/jena-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 26d4cc2 Updated site from main (1169fb8c2419589fb2120e1ce46bfd1bf58f779f)
26d4cc2 is described below
commit 26d4cc2a0c735c49a15cfe1cc0382cf635030e22
Author: jenkins <bu...@apache.org>
AuthorDate: Mon Nov 1 13:23:46 2021 +0000
Updated site from main (1169fb8c2419589fb2120e1ce46bfd1bf58f779f)
---
content/documentation/io/index.html | 6 ++++++
content/documentation/io/streaming-io.html | 8 ++++++++
content/sitemap.xml | 6 +++---
3 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/content/documentation/io/index.html b/content/documentation/io/index.html
index 9a9991b..4caf766 100644
--- a/content/documentation/io/index.html
+++ b/content/documentation/io/index.html
@@ -276,6 +276,12 @@ Assumes N-Quads/N-Triples from stdin.</li>
<p>In addition, if the extension is <code>.gz</code> the file is assumed to be gzip
compressed. The file name is examined for an inner extension. For
example, <code>.nt.gz</code> is gzip compressed N-Triples.</p>
+<p>Jena does not support all possible compression formats itself, only
+GZip and BZip2 are supported directly. If you want to use an
+alternative compression format you can do so by piping the output of the
+relevant decompression utility into one of Jena’s commands e.g.</p>
+<pre><code>zstd -d < FILE.nq.zst | riot --syntax NQ ...
+</code></pre>
<p>These scripts call java programs in the <code>riotcmd</code> package. For example:</p>
<pre><code>java -cp ... riotcmd.riot file.ttl
</code></pre>
diff --git a/content/documentation/io/streaming-io.html b/content/documentation/io/streaming-io.html
index 5a4a09a..83fc323 100644
--- a/content/documentation/io/streaming-io.html
+++ b/content/documentation/io/streaming-io.html
@@ -186,6 +186,14 @@ input parsing performance using W3C Standards.</p>
<p>Files ending in <code>.gz</code> are assumed to be gzip-compressed. Input and output
to such files takes this into account, including looking for the other file
extension. <code>data.nt.gz</code> is parsed as a gzip-compressed N-Triples file.</p>
+<p>Jena does not support all possible compression formats itself, only
+GZip and BZip2 are supported directly. If you want to use an
+alternative compression format you can do so by adding suitable dependencies
+into your project and passing an appropriate <code>InputStream</code>/<code>OutputStream</code>
+implementation to Jena code e.g.</p>
+<pre><code>InputStream input = new ZstdCompressorInputStream(....);
+RDFParser.source(input).lang(Lang.NQ).parse(graph);
+</code></pre>
<h2 id="streamrdf">StreamRDF</h2>
<p>The central abstraction is
<a href="/documentation/javadoc/arq/org/apache/jena/riot/system/StreamRDF.html"><code>StreamRDF</code></a>
diff --git a/content/sitemap.xml b/content/sitemap.xml
index b1d158b..a20e006 100644
--- a/content/sitemap.xml
+++ b/content/sitemap.xml
@@ -324,7 +324,7 @@
<url>
<loc>https://jena.apache.org/documentation.html</loc>
- <lastmod>2021-09-27T16:55:34+01:00</lastmod>
+ <lastmod>2021-11-01T11:43:24+00:00</lastmod>
</url>
<url>
@@ -664,7 +664,7 @@
<url>
<loc>https://jena.apache.org/documentation/io/</loc>
- <lastmod>2021-09-26T09:54:06+01:00</lastmod>
+ <lastmod>2021-11-01T11:43:24+00:00</lastmod>
</url>
<url>
@@ -1119,7 +1119,7 @@
<url>
<loc>https://jena.apache.org/documentation/io/streaming-io.html</loc>
- <lastmod>2021-09-26T09:54:06+01:00</lastmod>
+ <lastmod>2021-11-01T11:43:24+00:00</lastmod>
</url>
<url>