jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henry Saginor (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-8186) Create API in OAK for file access to binaries in the repository.
Date Mon, 01 Apr 2019 17:20:00 GMT
Henry Saginor created OAK-8186:
----------------------------------

             Summary: Create API in OAK for file access to binaries in the repository.
                 Key: OAK-8186
                 URL: https://issues.apache.org/jira/browse/OAK-8186
             Project: Jackrabbit Oak
          Issue Type: Improvement
            Reporter: Henry Saginor
         Attachments: OAK File Access.jpg

To get file access application normally write binaries to temp files. It would be nice if
an API existed to get file access directly from OAK.

Suggested API and implementation can be found here [1]. Also, see attached diagram [2].

I can create a patch if I can get some feedback.

[1]
[https://github.com/hsaginor/jackrabbit-oak/blob/directFileAccess/oak-api/src/main/java/org/apache/jackrabbit/oak/api/blob/FileReferencable.java]
[https://github.com/hsaginor/jackrabbit-oak/blob/directFileAccess/oak-api/src/main/java/org/apache/jackrabbit/oak/api/blob/TempFileReference.java]
[https://github.com/hsaginor/jackrabbit-oak/blob/directFileAccess/oak-api/src/main/java/org/apache/jackrabbit/oak/api/blob/TempFileReferenceProvider.java]
[https://github.com/hsaginor/jackrabbit-oak/blob/directFileAccess/oak-blob-plugins/src/main/java/org/apache/jackrabbit/oak/plugins/blob/datastore/FileDSBlobTempFileReference.java]
[https://github.com/hsaginor/jackrabbit-oak/blob/directFileAccess/oak-blob-plugins/src/main/java/org/apache/jackrabbit/oak/plugins/blob/datastore/DataStoreBlobStore.java]
[https://github.com/hsaginor/jackrabbit-oak/blob/directFileAccess/oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/SegmentBlob.java]
[https://github.com/hsaginor/jackrabbit-oak/blob/directFileAccess/oak-store-spi/src/main/java/org/apache/jackrabbit/oak/plugins/value/jcr/BinaryImpl.java]

[2]


!OAK File Access.jpg!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message