Implementation:Treeverse LakeFS Java SDK Model StagingLocation
Appearance
| Knowledge Sources | |
|---|---|
| Domains | Java_SDK, Data_Model |
| Last Updated | 2026-02-08 00:00 GMT |
Overview
Concrete data transfer object representing a staging location for placing an object in the lakeFS Java SDK.
Description
The StagingLocation class is an auto-generated model object produced by OpenAPI Generator from the lakeFS API specification. It provides type-safe access to staging location fields through getter/setter methods and supports JSON serialization via Gson.
Usage
Use this model when obtaining staging locations for object uploads through the lakeFS Java SDK API classes.
Code Reference
Source Location
- Repository: Treeverse_LakeFS
- File: clients/java/src/main/java/io/lakefs/clients/sdk/model/StagingLocation.java
- Lines: 1-355
Signature
public class StagingLocation {
// Fields with @SerializedName annotations
// Getter/setter methods
// equals, hashCode, toString
// JSON type adapter
}
Import
import io.lakefs.clients.sdk.model.StagingLocation;
I/O Contract
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| physical_address | String | No | Physical storage address for the staging location |
| presigned_url | String | No | Presigned URL for direct upload |
| presigned_url_expiry | Long | No | Expiry time for the presigned URL as epoch seconds |
Outputs
| Name | Type | Description |
|---|---|---|
| JSON | String | Serialized JSON representation of the object |
Usage Examples
Creating an Instance
import io.lakefs.clients.sdk.model.StagingLocation;
StagingLocation obj = new StagingLocation();
obj.setPhysicalAddress("s3://bucket/staging/path");
obj.setPresignedUrl("https://s3.amazonaws.com/bucket/staging/path?X-Amz-...");
Related Pages
Page Connections
Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment