You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by GitBox <gi...@apache.org> on 2021/10/28 08:35:06 UTC

[GitHub] [jena-site] rvesse opened a new pull request #72: JENA-2181: Notes on using alternative compression

rvesse opened a new pull request #72:
URL: https://github.com/apache/jena-site/pull/72


   Show how Jena can be used with alternative compression formats beyond those it supports natively
   
   As discussed in apache/jena#1089 may be better to document how to use alternative compression formats rather than adding direct support for them


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [jena-site] afs commented on a change in pull request #72: JENA-2181: Notes on using alternative compression

Posted by GitBox <gi...@apache.org>.
afs commented on a change in pull request #72:
URL: https://github.com/apache/jena-site/pull/72#discussion_r741723937



##########
File path: source/documentation/io/__index.md
##########
@@ -72,6 +72,13 @@ In addition, if the extension is `.gz` the file is assumed to be gzip
 compressed. The file name is examined for an inner extension. For
 example, `.nt.gz` is gzip compressed N-Triples.
 
+Jena does not support all possible compression formats itself, only
+GZip, BZip2 and Snappy are supported directly.  If you want to use an 

Review comment:
       Well, that would be a good reason!




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [jena-site] afs commented on a change in pull request #72: JENA-2181: Notes on using alternative compression

Posted by GitBox <gi...@apache.org>.
afs commented on a change in pull request #72:
URL: https://github.com/apache/jena-site/pull/72#discussion_r740916193



##########
File path: source/documentation/io/__index.md
##########
@@ -72,6 +72,13 @@ In addition, if the extension is `.gz` the file is assumed to be gzip
 compressed. The file name is examined for an inner extension. For
 example, `.nt.gz` is gzip compressed N-Triples.
 
+Jena does not support all possible compression formats itself, only
+GZip, BZip2 and Snappy are supported directly.  If you want to use an 

Review comment:
       I'll do the same for the javadoc. For some reason, `IO` has never support snappy output (not that compressed output is used much outside of any HTTP support which is gzip only).




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [jena-site] afs commented on a change in pull request #72: JENA-2181: Notes on using alternative compression

Posted by GitBox <gi...@apache.org>.
afs commented on a change in pull request #72:
URL: https://github.com/apache/jena-site/pull/72#discussion_r741723937



##########
File path: source/documentation/io/__index.md
##########
@@ -72,6 +72,13 @@ In addition, if the extension is `.gz` the file is assumed to be gzip
 compressed. The file name is examined for an inner extension. For
 example, `.nt.gz` is gzip compressed N-Triples.
 
+Jena does not support all possible compression formats itself, only
+GZip, BZip2 and Snappy are supported directly.  If you want to use an 

Review comment:
       Well, that would be a good reason!




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [jena-site] afs commented on a change in pull request #72: JENA-2181: Notes on using alternative compression

Posted by GitBox <gi...@apache.org>.
afs commented on a change in pull request #72:
URL: https://github.com/apache/jena-site/pull/72#discussion_r741723937



##########
File path: source/documentation/io/__index.md
##########
@@ -72,6 +72,13 @@ In addition, if the extension is `.gz` the file is assumed to be gzip
 compressed. The file name is examined for an inner extension. For
 example, `.nt.gz` is gzip compressed N-Triples.
 
+Jena does not support all possible compression formats itself, only
+GZip, BZip2 and Snappy are supported directly.  If you want to use an 

Review comment:
       Well, that would be a good reason!




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [jena-site] afs commented on a change in pull request #72: JENA-2181: Notes on using alternative compression

Posted by GitBox <gi...@apache.org>.
afs commented on a change in pull request #72:
URL: https://github.com/apache/jena-site/pull/72#discussion_r740916193



##########
File path: source/documentation/io/__index.md
##########
@@ -72,6 +72,13 @@ In addition, if the extension is `.gz` the file is assumed to be gzip
 compressed. The file name is examined for an inner extension. For
 example, `.nt.gz` is gzip compressed N-Triples.
 
+Jena does not support all possible compression formats itself, only
+GZip, BZip2 and Snappy are supported directly.  If you want to use an 

Review comment:
       I'll do the same for the javadoc. For some reason, `IO` has never support snappy output (not that compressed output is used much outside of any HTTP support which is gzip only).




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [jena-site] rvesse merged pull request #72: JENA-2181: Notes on using alternative compression

Posted by GitBox <gi...@apache.org>.
rvesse merged pull request #72:
URL: https://github.com/apache/jena-site/pull/72


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [jena-site] rvesse commented on a change in pull request #72: JENA-2181: Notes on using alternative compression

Posted by GitBox <gi...@apache.org>.
rvesse commented on a change in pull request #72:
URL: https://github.com/apache/jena-site/pull/72#discussion_r741382211



##########
File path: source/documentation/io/__index.md
##########
@@ -72,6 +72,13 @@ In addition, if the extension is `.gz` the file is assumed to be gzip
 compressed. The file name is examined for an inner extension. For
 example, `.nt.gz` is gzip compressed N-Triples.
 
+Jena does not support all possible compression formats itself, only
+GZip, BZip2 and Snappy are supported directly.  If you want to use an 

Review comment:
       I think this is one of those weird licensing things.  Reading in Snappy compressed data does not require any inconveniently licensed dependencies but writing it out does




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [jena-site] rvesse commented on a change in pull request #72: JENA-2181: Notes on using alternative compression

Posted by GitBox <gi...@apache.org>.
rvesse commented on a change in pull request #72:
URL: https://github.com/apache/jena-site/pull/72#discussion_r741390287



##########
File path: source/documentation/io/__index.md
##########
@@ -72,6 +72,13 @@ In addition, if the extension is `.gz` the file is assumed to be gzip
 compressed. The file name is examined for an inner extension. For
 example, `.nt.gz` is gzip compressed N-Triples.
 
+Jena does not support all possible compression formats itself, only
+GZip, BZip2 and Snappy are supported directly.  If you want to use an 

Review comment:
       Or they just didn't implement it yet:
   
   ![Screenshot 2021-11-02 at 19 07 10](https://user-images.githubusercontent.com/2104864/139929498-fa394c03-eb79-4032-85cb-f4d359ff9a9e.png)
   
   https://commons.apache.org/proper/commons-compress/limitations.html
   
   
   




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [jena-site] rvesse commented on a change in pull request #72: JENA-2181: Notes on using alternative compression

Posted by GitBox <gi...@apache.org>.
rvesse commented on a change in pull request #72:
URL: https://github.com/apache/jena-site/pull/72#discussion_r741390287



##########
File path: source/documentation/io/__index.md
##########
@@ -72,6 +72,13 @@ In addition, if the extension is `.gz` the file is assumed to be gzip
 compressed. The file name is examined for an inner extension. For
 example, `.nt.gz` is gzip compressed N-Triples.
 
+Jena does not support all possible compression formats itself, only
+GZip, BZip2 and Snappy are supported directly.  If you want to use an 

Review comment:
       Or they just didn't implement it yet:
   
   ![Screenshot 2021-11-02 at 19 07 10](https://user-images.githubusercontent.com/2104864/139929498-fa394c03-eb79-4032-85cb-f4d359ff9a9e.png)
   
   
   




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [jena-site] rvesse commented on a change in pull request #72: JENA-2181: Notes on using alternative compression

Posted by GitBox <gi...@apache.org>.
rvesse commented on a change in pull request #72:
URL: https://github.com/apache/jena-site/pull/72#discussion_r740205968



##########
File path: source/documentation/io/__index.md
##########
@@ -72,6 +72,13 @@ In addition, if the extension is `.gz` the file is assumed to be gzip
 compressed. The file name is examined for an inner extension. For
 example, `.nt.gz` is gzip compressed N-Triples.
 
+Jena does not support all possible compression formats itself, only
+GZip, BZip2 and Snappy are supported directly.  If you want to use an 

Review comment:
       Changed the docs to only mention GZip and BZip2 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [jena-site] rvesse commented on a change in pull request #72: JENA-2181: Notes on using alternative compression

Posted by GitBox <gi...@apache.org>.
rvesse commented on a change in pull request #72:
URL: https://github.com/apache/jena-site/pull/72#discussion_r741382211



##########
File path: source/documentation/io/__index.md
##########
@@ -72,6 +72,13 @@ In addition, if the extension is `.gz` the file is assumed to be gzip
 compressed. The file name is examined for an inner extension. For
 example, `.nt.gz` is gzip compressed N-Triples.
 
+Jena does not support all possible compression formats itself, only
+GZip, BZip2 and Snappy are supported directly.  If you want to use an 

Review comment:
       I think this is one of those weird licensing things.  Reading in Snappy compressed data does not require any inconveniently licensed dependencies but writing it out does

##########
File path: source/documentation/io/__index.md
##########
@@ -72,6 +72,13 @@ In addition, if the extension is `.gz` the file is assumed to be gzip
 compressed. The file name is examined for an inner extension. For
 example, `.nt.gz` is gzip compressed N-Triples.
 
+Jena does not support all possible compression formats itself, only
+GZip, BZip2 and Snappy are supported directly.  If you want to use an 

Review comment:
       Or they just didn't implement it yet:
   
   ![Screenshot 2021-11-02 at 19 07 10](https://user-images.githubusercontent.com/2104864/139929498-fa394c03-eb79-4032-85cb-f4d359ff9a9e.png)
   
   
   

##########
File path: source/documentation/io/__index.md
##########
@@ -72,6 +72,13 @@ In addition, if the extension is `.gz` the file is assumed to be gzip
 compressed. The file name is examined for an inner extension. For
 example, `.nt.gz` is gzip compressed N-Triples.
 
+Jena does not support all possible compression formats itself, only
+GZip, BZip2 and Snappy are supported directly.  If you want to use an 

Review comment:
       Or they just didn't implement it yet:
   
   ![Screenshot 2021-11-02 at 19 07 10](https://user-images.githubusercontent.com/2104864/139929498-fa394c03-eb79-4032-85cb-f4d359ff9a9e.png)
   
   https://commons.apache.org/proper/commons-compress/limitations.html
   
   
   




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [jena-site] afs commented on a change in pull request #72: JENA-2181: Notes on using alternative compression

Posted by GitBox <gi...@apache.org>.
afs commented on a change in pull request #72:
URL: https://github.com/apache/jena-site/pull/72#discussion_r738560363



##########
File path: source/documentation/io/__index.md
##########
@@ -72,6 +72,13 @@ In addition, if the extension is `.gz` the file is assumed to be gzip
 compressed. The file name is examined for an inner extension. For
 example, `.nt.gz` is gzip compressed N-Triples.
 
+Jena does not support all possible compression formats itself, only
+GZip, BZip2 and Snappy are supported directly.  If you want to use an 

Review comment:
       While snappy is in the code, I can't confirm it works and haven't seen mention on users@.
   It only works in certain places (see wider JENA-2181 discussions)
   
   Maybe not name it here?
   




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [jena-site] afs commented on a change in pull request #72: JENA-2181: Notes on using alternative compression

Posted by GitBox <gi...@apache.org>.
afs commented on a change in pull request #72:
URL: https://github.com/apache/jena-site/pull/72#discussion_r740916193



##########
File path: source/documentation/io/__index.md
##########
@@ -72,6 +72,13 @@ In addition, if the extension is `.gz` the file is assumed to be gzip
 compressed. The file name is examined for an inner extension. For
 example, `.nt.gz` is gzip compressed N-Triples.
 
+Jena does not support all possible compression formats itself, only
+GZip, BZip2 and Snappy are supported directly.  If you want to use an 

Review comment:
       I'll do the same for the javadoc. For some reason, `IO` has never support snappy output (not that compressed output is used much outside of any HTTP support which is gzip only).




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [jena-site] afs commented on a change in pull request #72: JENA-2181: Notes on using alternative compression

Posted by GitBox <gi...@apache.org>.
afs commented on a change in pull request #72:
URL: https://github.com/apache/jena-site/pull/72#discussion_r741723937



##########
File path: source/documentation/io/__index.md
##########
@@ -72,6 +72,13 @@ In addition, if the extension is `.gz` the file is assumed to be gzip
 compressed. The file name is examined for an inner extension. For
 example, `.nt.gz` is gzip compressed N-Triples.
 
+Jena does not support all possible compression formats itself, only
+GZip, BZip2 and Snappy are supported directly.  If you want to use an 

Review comment:
       Well, that would be a good reason!




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@jena.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org