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 ObjectStageCreation

From Leeroopedia


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

Overview

Concrete data transfer object representing a request to stage an object in the lakeFS Java SDK.

Description

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

Usage

Use this model when staging objects directly by providing their physical storage location through the lakeFS Java SDK API classes.

Code Reference

Source Location

Signature

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

Import

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

I/O Contract

Inputs

Name Type Required Description
physical_address String Yes Physical storage address of the object
checksum String Yes Checksum of the object content
size_bytes Long Yes Size of the object in bytes
mtime Long No Modification time of the object as epoch milliseconds
metadata Map<String, String> No User-defined metadata key-value pairs
content_type String No MIME content type of the object
force Boolean No Force staging even if object exists (default false)

Outputs

Name Type Description
JSON String Serialized JSON representation of the object

Usage Examples

Creating an Instance

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

ObjectStageCreation obj = new ObjectStageCreation();
obj.setPhysicalAddress("s3://bucket/path/to/object");
obj.setChecksum("abc123def456");
obj.setSizeBytes(1024L);

Related Pages

Page Connections

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