Implementation:Treeverse LakeFS Java SDK Model PathList
Appearance
| Knowledge Sources | |
|---|---|
| Domains | Java_SDK, Data_Model |
| Last Updated | 2026-02-08 00:00 GMT |
Overview
Concrete data transfer object representing a list of object paths in the lakeFS Java SDK.
Description
The PathList class is an auto-generated model object produced by OpenAPI Generator from the lakeFS API specification. It provides type-safe access to a collection of path strings through getter/setter methods and supports JSON serialization via Gson.
Usage
Use this model when specifying multiple object paths for bulk operations 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/PathList.java
- Lines: 1-305
Signature
public class PathList {
// Fields with @SerializedName annotations
// Getter/setter methods
// equals, hashCode, toString
// JSON type adapter
}
Import
import io.lakefs.clients.sdk.model.PathList;
I/O Contract
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| paths | List<String> | Yes | List of object path strings |
Outputs
| Name | Type | Description |
|---|---|---|
| JSON | String | Serialized JSON representation of the object |
Usage Examples
Creating an Instance
import io.lakefs.clients.sdk.model.PathList;
PathList obj = new PathList();
obj.addPathsItem("data/file1.parquet");
obj.addPathsItem("data/file2.parquet");
Related Pages
Page Connections
Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment