Implementation:Treeverse LakeFS Java SDK Model CopyPartSource
Appearance
| Knowledge Sources | |
|---|---|
| Domains | Java_SDK, Data_Model |
| Last Updated | 2026-02-08 00:00 GMT |
Overview
Concrete data transfer object representing a copy part source reference in the lakeFS Java SDK.
Description
The CopyPartSource class is an auto-generated model object produced by OpenAPI Generator from the lakeFS API specification. It provides type-safe access to copy part source fields through getter/setter methods and supports JSON serialization via Gson.
Usage
Use this model when specifying the source for a copy part operation in multipart 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/CopyPartSource.java
- Lines: 1-387
Signature
public class CopyPartSource {
// Fields with @SerializedName annotations
// Getter/setter methods
// equals, hashCode, toString
// JSON type adapter
}
Import
import io.lakefs.clients.sdk.model.CopyPartSource;
I/O Contract
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| repository | String | Yes | Source repository name |
| ref | String | Yes | Source branch or commit reference |
| path | String | Yes | Source object path within the repository |
| range | String | No | Byte range to copy from the source object |
Outputs
| Name | Type | Description |
|---|---|---|
| JSON | String | Serialized JSON representation |
Usage Examples
Creating an Instance
import io.lakefs.clients.sdk.model.CopyPartSource;
CopyPartSource obj = new CopyPartSource();
obj.setRepository("my-repo");
obj.setRef("main");
obj.setPath("data/file.parquet");
Principle
Related Pages
Page Connections
Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment