Implementation:Treeverse LakeFS Java SDK Model ImportCreation
Appearance
| Knowledge Sources | |
|---|---|
| Domains | Java_SDK, Data_Model |
| Last Updated | 2026-02-08 00:00 GMT |
Overview
Concrete data transfer object representing an import creation request in the lakeFS Java SDK.
Description
The ImportCreation class is an auto-generated model object produced by OpenAPI Generator from the lakeFS API specification. It provides type-safe access to import creation fields through getter/setter methods and supports JSON serialization via Gson.
Usage
Use this model when initiating an import of external data into a lakeFS branch 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/ImportCreation.java
- Lines: 1-370
Signature
public class ImportCreation {
// Fields with @SerializedName annotations
// Getter/setter methods
// equals, hashCode, toString
// JSON type adapter
}
Import
import io.lakefs.clients.sdk.model.ImportCreation;
I/O Contract
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| paths | List<ImportLocation> | Yes | List of source locations to import from |
| commit | CommitCreation | Yes | Commit creation parameters for the import |
| force | Boolean | No | Force the import even if the branch has uncommitted changes (default: false) |
Outputs
| Name | Type | Description |
|---|---|---|
| JSON | String | Serialized JSON representation |
Usage Examples
Creating an Instance
import io.lakefs.clients.sdk.model.ImportCreation;
ImportCreation obj = new ImportCreation();
obj.setPaths(importLocationList);
obj.setCommit(commitCreation);
obj.setForce(false);
Principle
Related Pages
Page Connections
Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment