Implementation:Treeverse LakeFS Java SDK Model FindMergeBaseResult
Appearance
| Knowledge Sources | |
|---|---|
| Domains | Java_SDK, Data_Model |
| Last Updated | 2026-02-08 00:00 GMT |
Overview
Concrete data transfer object representing the result of finding a merge base between two commits in the lakeFS Java SDK.
Description
The FindMergeBaseResult class is an auto-generated model object produced by OpenAPI Generator from the lakeFS API specification. It provides type-safe access to merge base result fields through getter/setter methods and supports JSON serialization via Gson.
Usage
Use this model when finding the common ancestor (merge base) between source and destination commits 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/FindMergeBaseResult.java
- Lines: 1-356
Signature
public class FindMergeBaseResult {
// Fields with @SerializedName annotations
// Getter/setter methods
// equals, hashCode, toString
// JSON type adapter
}
Import
import io.lakefs.clients.sdk.model.FindMergeBaseResult;
I/O Contract
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| sourceCommitId | String | Yes | The commit ID of the merge source |
| destinationCommitId | String | Yes | The commit ID of the merge destination |
| baseCommitId | String | Yes | The commit ID of the common ancestor (merge base) |
Outputs
| Name | Type | Description |
|---|---|---|
| JSON | String | Serialized JSON representation |
Usage Examples
Creating an Instance
import io.lakefs.clients.sdk.model.FindMergeBaseResult;
FindMergeBaseResult obj = new FindMergeBaseResult();
obj.setSourceCommitId("abc123");
obj.setDestinationCommitId("def456");
obj.setBaseCommitId("ghi789");
Principle
Related Pages
Page Connections
Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment