javasoze opened a new pull request, #5837:
URL: https://github.com/apache/opendal/pull/5837

   # Which issue does this PR close?
   
   Closes #5825 
   
   # Rationale for this change
   
   Exposes reading part of a file using offset and length in the Java API.
   
   # What changes are included in this PR?
   
   1. Added API in Java and native binding
   2. Added implementation in native binding to expose offset reading
   
   # Are there any user-facing changes?
   
   Operator.java:
   
   ```java
   byte[] read(String path, long offset, long len)
   ```
   
   AsyncOperator.java:
   ```java
   public CompletableFuture<byte[]> read(String path, long offset, long len)
   ```
   


-- 
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: commits-unsubscr...@opendal.apache.org

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

Reply via email to