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 Model IcebergPushRequest

From Leeroopedia


Knowledge Sources
Domains Java_SDK, Data_Model
Last Updated 2026-02-08 00:00 GMT

Overview

Concrete data transfer object representing an Iceberg table push request (from local to remote) in the lakeFS Java SDK.

Description

The IcebergPushRequest class is an auto-generated model object produced by OpenAPI Generator from the lakeFS API specification. It provides type-safe access to Iceberg push request fields through getter/setter methods and supports JSON serialization via Gson.

Usage

Use this model when pushing Iceberg table data from a lakeFS repository to a remote catalog through the lakeFS Java SDK API classes.

Code Reference

Source Location

Signature

public class IcebergPushRequest {
    // Fields with @SerializedName annotations
    // Getter/setter methods
    // equals, hashCode, toString
    // JSON type adapter
}

Import

import io.lakefs.clients.sdk.model.IcebergPushRequest;

I/O Contract

Inputs

Name Type Required Description
source IcebergLocalTable Yes Local lakeFS Iceberg table to push from
destination IcebergRemoteTable Yes Remote Iceberg table destination
forceUpdate Boolean No Force update even if conflicts exist (default: false)
createNamespace Boolean No Create the namespace if it does not exist (default: false)

Outputs

Name Type Description
JSON String Serialized JSON representation

Usage Examples

Creating an Instance

import io.lakefs.clients.sdk.model.IcebergPushRequest;

IcebergPushRequest obj = new IcebergPushRequest();
obj.setSource(localTable);
obj.setDestination(remoteTable);
obj.setForceUpdate(false);
obj.setCreateNamespace(true);

Principle

Related Pages

Page Connections

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