feat(bindings/java): Add StatOptions support for new options API#6255
feat(bindings/java): Add StatOptions support for new options API#6255tisonkun merged 4 commits intoapache:mainfrom
Conversation
|
While working on this, I noticed that some of the options are specific to presign. I think I can add those in a follow-up, as this PR was getting large. However, it's worth noting that the current presign API doesn't follow the new xxx_option pattern and instead uses the with_ method chaining approach. Also, presign operations support the override* fields and a small subset of options (e.g., if_none_match). It may be worth investigating adding support for the options defined in #6213 to the presign operations. |
Nice catch! I haven’t implemented that for |
|
Thanks for your contribution! |
Which issue does this PR close?
Related to #6226.
Rationale for this change
This PR adds support for
opendal::options::StatOptionsconversion in the java bindings. This is part of the migration to the new options API outlined in RFC-6213 (#6213).What changes are included in this PR?
opendal::options::StatOptionsasync_stat.rstest suiteAre there any user-facing changes?
Yes, users can now add options to their stat requests