[jira] [Commented] (OAK-8186) Create API in OAK for file access to binaries in the repository.

2019-04-29 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/OAK-8186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16829193#comment-16829193 ] Julian Reschke commented on OAK-8186: - Ack. But Binary.read(byte[], long) is just a convenience

[jira] [Commented] (OAK-8186) Create API in OAK for file access to binaries in the repository.

2019-04-29 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/OAK-8186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16829180#comment-16829180 ] Marcel Reutegger commented on OAK-8186: --- I'm sorry, that's my fault. There was not enough context

[jira] [Commented] (OAK-8186) Create API in OAK for file access to binaries in the repository.

2019-04-29 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/OAK-8186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16828957#comment-16828957 ] Julian Reschke commented on OAK-8186: - bq. That's indeed an option. But then, this API is still

[jira] [Commented] (OAK-8186) Create API in OAK for file access to binaries in the repository.

2019-04-29 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/OAK-8186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16828952#comment-16828952 ] Marcel Reutegger commented on OAK-8186: --- bq. if this is the actual issue, why not just fix that?

[jira] [Commented] (OAK-8186) Create API in OAK for file access to binaries in the repository.

2019-04-26 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/OAK-8186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16826949#comment-16826949 ] Julian Reschke commented on OAK-8186: - bq. Apache Commons Compress library is able to handle those but

[jira] [Commented] (OAK-8186) Create API in OAK for file access to binaries in the repository.

2019-04-26 Thread Julian Reschke (JIRA)
[ https://issues.apache.org/jira/browse/OAK-8186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16826917#comment-16826917 ] Julian Reschke commented on OAK-8186: - bq. AFAICS, Oak opens a new stream on every Binary.read().

[jira] [Commented] (OAK-8186) Create API in OAK for file access to binaries in the repository.

2019-04-25 Thread Henry Saginor (JIRA)
[ https://issues.apache.org/jira/browse/OAK-8186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16826463#comment-16826463 ] Henry Saginor commented on OAK-8186: [~mreutegg], [~mattvryan] To continue this conversation I opened

[jira] [Commented] (OAK-8186) Create API in OAK for file access to binaries in the repository.

2019-04-10 Thread Matt Ryan (JIRA)
[ https://issues.apache.org/jira/browse/OAK-8186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16814540#comment-16814540 ] Matt Ryan commented on OAK-8186: [~mreutegg] said: {quote}I think this proposal is trying to solve the

[jira] [Commented] (OAK-8186) Create API in OAK for file access to binaries in the repository.

2019-04-10 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/OAK-8186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16814420#comment-16814420 ] Marcel Reutegger commented on OAK-8186: --- Depending on the number of read operations performed, this

[jira] [Commented] (OAK-8186) Create API in OAK for file access to binaries in the repository.

2019-04-10 Thread Ruben Reusser (JIRA)
[ https://issues.apache.org/jira/browse/OAK-8186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16814401#comment-16814401 ] Ruben Reusser commented on OAK-8186: [~frm] [~mreutegg] [~mattvryan] - we'll try to implment a seekable

[jira] [Commented] (OAK-8186) Create API in OAK for file access to binaries in the repository.

2019-04-10 Thread Francesco Mari (JIRA)
[ https://issues.apache.org/jira/browse/OAK-8186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16814195#comment-16814195 ] Francesco Mari commented on OAK-8186: - [~mattvryan], my rule of thumb is that if something can be

[jira] [Commented] (OAK-8186) Create API in OAK for file access to binaries in the repository.

2019-04-10 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/OAK-8186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16814146#comment-16814146 ] Marcel Reutegger commented on OAK-8186: --- I think this proposal is trying to solve the wrong problem.

[jira] [Commented] (OAK-8186) Create API in OAK for file access to binaries in the repository.

2019-04-09 Thread Matt Ryan (JIRA)
[ https://issues.apache.org/jira/browse/OAK-8186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16813798#comment-16813798 ] Matt Ryan commented on OAK-8186: [~frm] I completely agree wrt direct access - as far as I'm concerned

[jira] [Commented] (OAK-8186) Create API in OAK for file access to binaries in the repository.

2019-04-09 Thread Francesco Mari (JIRA)
[ https://issues.apache.org/jira/browse/OAK-8186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16813403#comment-16813403 ] Francesco Mari commented on OAK-8186: - Surely the lower you implement the copy operation, the better

[jira] [Commented] (OAK-8186) Create API in OAK for file access to binaries in the repository.

2019-04-09 Thread Ruben Reusser (JIRA)
[ https://issues.apache.org/jira/browse/OAK-8186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16813336#comment-16813336 ] Ruben Reusser commented on OAK-8186: [~mduerig] nio.Files.copy is a file system copy (operates on files

[jira] [Commented] (OAK-8186) Create API in OAK for file access to binaries in the repository.

2019-04-09 Thread JIRA
[ https://issues.apache.org/jira/browse/OAK-8186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16813062#comment-16813062 ] Michael Dürig commented on OAK-8186: [~reusr1], you are comparing

[jira] [Commented] (OAK-8186) Create API in OAK for file access to binaries in the repository.

2019-04-08 Thread Ruben Reusser (JIRA)
[ https://issues.apache.org/jira/browse/OAK-8186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16812857#comment-16812857 ] Ruben Reusser commented on OAK-8186: [~mduerig] [~mattvryan] depending on the size of the file one

[jira] [Commented] (OAK-8186) Create API in OAK for file access to binaries in the repository.

2019-04-08 Thread JIRA
[ https://issues.apache.org/jira/browse/OAK-8186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16812175#comment-16812175 ] Michael Dürig commented on OAK-8186: Thanks for these clarifications [~mattvryan]. I agree with you

[jira] [Commented] (OAK-8186) Create API in OAK for file access to binaries in the repository.

2019-04-05 Thread Matt Ryan (JIRA)
[ https://issues.apache.org/jira/browse/OAK-8186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16810934#comment-16810934 ] Matt Ryan commented on OAK-8186: I had a discussion with [~hsagi...@gmail.com] offline yesterday to work

[jira] [Commented] (OAK-8186) Create API in OAK for file access to binaries in the repository.

2019-04-04 Thread Tommaso Teofili (JIRA)
[ https://issues.apache.org/jira/browse/OAK-8186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16809665#comment-16809665 ] Tommaso Teofili commented on OAK-8186: -- +1 to what [~frm] and [~mduerig] say, I still think providing

[jira] [Commented] (OAK-8186) Create API in OAK for file access to binaries in the repository.

2019-04-04 Thread Francesco Mari (JIRA)
[ https://issues.apache.org/jira/browse/OAK-8186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16809661#comment-16809661 ] Francesco Mari commented on OAK-8186: - This use case can be implemented on top of the JCR API by

[jira] [Commented] (OAK-8186) Create API in OAK for file access to binaries in the repository.

2019-04-04 Thread JIRA
[ https://issues.apache.org/jira/browse/OAK-8186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16809655#comment-16809655 ] Michael Dürig commented on OAK-8186: What is the reason for implementing this into Oak instead of

[jira] [Commented] (OAK-8186) Create API in OAK for file access to binaries in the repository.

2019-04-03 Thread Henry Saginor (JIRA)
[ https://issues.apache.org/jira/browse/OAK-8186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16808802#comment-16808802 ] Henry Saginor commented on OAK-8186: [~mattvryan] Yes it's very close to UC1. But it's not just native

[jira] [Commented] (OAK-8186) Create API in OAK for file access to binaries in the repository.

2019-04-03 Thread Matt Ryan (JIRA)
[ https://issues.apache.org/jira/browse/OAK-8186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16808771#comment-16808771 ] Matt Ryan commented on OAK-8186: Hi [~hsagi...@gmail.com], I think you are talking about UC1 in

[jira] [Commented] (OAK-8186) Create API in OAK for file access to binaries in the repository.

2019-04-02 Thread Henry Saginor (JIRA)
[ https://issues.apache.org/jira/browse/OAK-8186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16808374#comment-16808374 ] Henry Saginor commented on OAK-8186: Hi [~mattvryan], Basically an application may need support for

[jira] [Commented] (OAK-8186) Create API in OAK for file access to binaries in the repository.

2019-04-02 Thread Matt Ryan (JIRA)
[ https://issues.apache.org/jira/browse/OAK-8186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16808214#comment-16808214 ] Matt Ryan commented on OAK-8186: [~mduerig] yes, on the surface it seems like it could be similar.

[jira] [Commented] (OAK-8186) Create API in OAK for file access to binaries in the repository.

2019-04-02 Thread JIRA
[ https://issues.apache.org/jira/browse/OAK-8186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16807487#comment-16807487 ] Michael Dürig commented on OAK-8186: [~mattvryan], isn't the above use case covered by your recent