You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/08/16 18:04:46 UTC

[jira] [Commented] (JENA-959) riot: gzip output option

    [ https://issues.apache.org/jira/browse/JENA-959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14698739#comment-14698739 ] 

ASF subversion and git services commented on JENA-959:
------------------------------------------------------

Commit 43efe529cb99aeaca6e94e91ac819e5ce4c20c2c in jena's branch refs/heads/master from [~andy.seaborne]
[ https://git-wip-us.apache.org/repos/asf?p=jena.git;h=43efe52 ]

JENA-959 : Add --compress.

> riot: gzip output option
> ------------------------
>
>                 Key: JENA-959
>                 URL: https://issues.apache.org/jira/browse/JENA-959
>             Project: Apache Jena
>          Issue Type: New Feature
>          Components: RIOT
>            Reporter: Stian Soiland-Reyes
>            Priority: Trivial
>         Attachments: Jena-959-example.patch
>
>
> The riot command line tool supports incoming file formats like *.ttl.gz, but there is no (obvious) way to also output in compressed formats.
> This can of course also be achieved with piping and gzip, but that is easily platform-specific. Writing *.format.gz with the command line is probably as much within remit of someone using riot on the command line as for reading those.
> So my suggestion is to support extension .gz in the various --output options to enabled outputting via a GzipOutputStream -- http://docs.oracle.com/javase/7/docs/api/java/util/zip/GZIPOutputStream.html
> For example:
> {code}
> stain@biggie-utopic:~/Downloads$ riot --output=nquads.gz chembl_20.0_target_targetcmpt_ls.ttl.gz 
> Not recognized as an RDF language : 'nquads.gz'
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)