Implementation:Treeverse LakeFS Java SDK InternalApi
| Knowledge Sources | |
|---|---|
| Domains | Java_SDK, REST_API |
| Last Updated | 2026-02-08 00:00 GMT |
Overview
Concrete tool for internal server operations provided by the lakeFS Java SDK.
Description
WARNING: This class contains 54 methods marked @Deprecated. These deprecated methods may be removed in future lakeFS releases. Consult the deprecation heuristic for migration guidance.
The InternalApi class is an auto-generated Java client for the lakeFS Internal API endpoints. It is generated by OpenAPI Generator from the lakeFS OpenAPI specification and provides type-safe methods for interacting with the lakeFS server.
Usage
Import this class when programmatically interacting with lakeFS internal server operations from a Java application.
Code Reference
Source Location
- Repository: Treeverse_LakeFS
- File: clients/java/src/main/java/io/lakefs/clients/sdk/InternalApi.java
- Lines: 1-5537
Signature
public class InternalApi {
private ApiClient localVarApiClient;
public InternalApi() { ... }
public InternalApi(ApiClient apiClient) { ... }
// API methods...
}
Import
import io.lakefs.clients.sdk.InternalApi;
I/O Contract
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| apiClient | ApiClient | No | Custom API client configuration (uses default if omitted) |
Outputs
| Name | Type | Description |
|---|---|---|
| API responses | Model objects | Type-safe response objects from lakeFS server |
Usage Examples
Basic Usage
import io.lakefs.clients.sdk.InternalApi;
import io.lakefs.clients.sdk.ApiClient;
import io.lakefs.clients.sdk.Configuration;
// Use default client
ApiClient client = Configuration.getDefaultApiClient();
client.setBasePath("http://localhost:8000/api/v1");
InternalApi api = new InternalApi(client);
// Call API methods...