Skip to content

Conversation

@tdbbyd
Copy link
Collaborator

@tdbbyd tdbbyd commented Sep 16, 2025

This PR refactors the TileDBClient to support versioned API calls. Previously we were only allowing v1 through the TileDBClient wrapper object.

example usage now:

TileDBClient client = new TileDBClient(
    new TileDBLogin(myApiKey, true, true, false) 
);

// get v1
io.tiledb.cloud.rest_api.v1.ApiClient v1 = client.getV1Client();

// get v4
io.tiledb.cloud.rest_api.v4.ApiClient v4 = client.getV4Client();

// get v2
io.tiledb.cloud.rest_api.v2.ApiClient v2 = client.getV2Client();

This PR also marks the existing getApiClient() as deprecated. Users should start using getV1Client();

@tdbbyd tdbbyd force-pushed the tdbbyd/make_tiledb_client_include_all_versions branch from a4ab478 to a9ef263 Compare September 16, 2025 15:09
@tdbbyd tdbbyd marked this pull request as ready for review September 16, 2025 15:21
@tdbbyd tdbbyd requested a review from ihnorton September 16, 2025 15:32
@tdbbyd tdbbyd merged commit a17fd14 into master Sep 23, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants