Jump to content

Connect Leeroopedia MCP: Equip your AI agents to search best practices, build plans, verify code, diagnose failures, and look up hyperparameter defaults.

Implementation:Treeverse LakeFS Java SDK InternalApi

From Leeroopedia


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

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...

Related Pages

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment