Implementation:Treeverse LakeFS Java SDK Model ResetCreation
Appearance
| Knowledge Sources | |
|---|---|
| Domains | Java_SDK, Data_Model |
| Last Updated | 2026-02-08 00:00 GMT |
Overview
Concrete data transfer object representing a request to reset staged changes in the lakeFS Java SDK.
Description
The ResetCreation class is an auto-generated model object produced by OpenAPI Generator from the lakeFS API specification. It provides type-safe access to reset operation fields through getter/setter methods and supports JSON serialization via Gson.
Usage
Use this model when resetting staged changes on a 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/ResetCreation.java
- Lines: 1-400
Signature
public class ResetCreation {
// Fields with @SerializedName annotations
// Getter/setter methods
// equals, hashCode, toString
// JSON type adapter
}
Import
import io.lakefs.clients.sdk.model.ResetCreation;
I/O Contract
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| type | TypeEnum | Yes | What to reset according to path (object, common_prefix, reset) |
| path | String | No | Path to reset |
| force | Boolean | No | Force the reset operation (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.ResetCreation;
ResetCreation obj = new ResetCreation();
obj.setType(ResetCreation.TypeEnum.OBJECT);
obj.setPath("data/file.parquet");
Related Pages
Page Connections
Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment