opendal icon indicating copy to clipboard operation
opendal copied to clipboard

feat: support reader & writer for java binding

Open DoonPort0422 opened this issue 2 years ago • 2 comments

Similar to https://github.com/apache/opendal/issues/3558

Here request on support for Java.

Thank you.

DoonPort0422 avatar Jan 26 '24 09:01 DoonPort0422

cc @tisonkun @G-XD, what do you think about this request? Does java have similiar ideas about reader and writer?

Xuanwo avatar Jan 31 '24 14:01 Xuanwo

I'd appreciate hearing from @DoonPort0422 by "similar to":

  • What do you think is similar?
  • What interfaces in Java do you imagine integrating with and how do you imagine its usage?

tisonkun avatar Jan 31 '24 16:01 tisonkun

What do you think is similar?

Forgot it, this is not the main point.

What interfaces in Java do you imagine integrating with and how do you imagine its usage?

Can we implement ReadableStream in java side?

DoonPort0422 avatar Apr 12 '24 07:04 DoonPort0422

The most basic IO interface in Java is perhaps InputStream / OutputStream I think?

jokester avatar Jun 07 '24 11:06 jokester

The most basic IO interface in Java is perhaps InputStream / OutputStream I think?

Yep! Already impemented and will release in next version of java binding. Welcome to give it a try.

Xuanwo avatar Jun 07 '24 11:06 Xuanwo

Implemented and shipped. Thanks @tisonkun!

Xuanwo avatar Jun 14 '24 12:06 Xuanwo