TileDB-Inc / TileDB-Java

Java JNI interface to the TileDB storage engine
MIT License
26 stars 5 forks source link

move away from deprecated methods step1 #356

Closed DimitrisStaratzis closed 7 months ago

DimitrisStaratzis commented 7 months ago

These methods have a v2 equivalent in the c api.

tiledb_fragment_info_get_fragment_name()
tiledb_group_get_member_by_index()
tiledb_group_get_member_by_name()

When the v2 was introduced I wrapped them with the v2 in the signature. Example: getMemberByNameV2()

This is a bit ugly so I am now deprecating the versions with the v2 in the signature in favor of the old signatures. The methods with the old signatures are now using the v2 c_apis

tiledb_array_delete_fragments() is a different case. It is now deprecated and replaced by a static method.

This PR removed the dependency to deprecated methods completely without introducing any breaking changes. Let me know if you want to also remove the deprecated methods completely.

[sc-45973]