Hi Ian,

On 05/09/16 15:21, Ian Boston wrote:
Is it possible to write to an Oak Binary via the JCR API at an offset ?

no, this is not possible with the JCR API nor with current Jackrabbit
API extensions.

There is a wiki page with uses cases that are currently not well
supported by JCR/Oak:

https://wiki.apache.org/jackrabbit/JCR%20Binary%20Usecase

Your request is similar to UC7 and UC10 and could be supported with
a repository backed by a BlobStore, but we'd still have to add
Jackrabbit API to support it. E.g. something like:

valueFactory.createBinary(existingBinary, appendThisInputStream);

Feel free to update the wiki page with references to the work
done in Sling. This will help designing the API extensions on
our side.

Regards
 Marcel

Reply via email to