Jump to content

Connect Leeroopedia MCP: Equip your AI agents to search best practices, build plans, verify code, diagnose failures, and look up hyperparameter defaults.

Implementation:Treeverse LakeFS Java SDK Model RangeMetadata

From Leeroopedia


Knowledge Sources
Domains Java_SDK, Data_Model
Last Updated 2026-02-08 00:00 GMT

Overview

Concrete data transfer object representing metadata for a range of objects in the lakeFS Java SDK.

Description

The RangeMetadata class is an auto-generated model object produced by OpenAPI Generator from the lakeFS API specification. It provides type-safe access to range metadata fields through getter/setter methods and supports JSON serialization via Gson.

Usage

Use this model when working with range-based metadata for internal storage structures through the lakeFS Java SDK API classes.

Code Reference

Source Location

Signature

public class RangeMetadata {
    // Fields with @SerializedName annotations
    // Getter/setter methods
    // equals, hashCode, toString
    // JSON type adapter
}

Import

import io.lakefs.clients.sdk.model.RangeMetadata;

I/O Contract

Inputs

Name Type Required Description
id String Yes Unique identifier for the range
min_key String Yes Minimum key in the range
max_key String Yes Maximum key in the range
count Integer Yes Number of entries in the range
estimated_size Integer No Estimated size of the range in bytes

Outputs

Name Type Description
JSON String Serialized JSON representation of the object

Usage Examples

Creating an Instance

import io.lakefs.clients.sdk.model.RangeMetadata;

RangeMetadata obj = new RangeMetadata();
obj.setId("range-abc123");
obj.setMinKey("data/a.parquet");
obj.setMaxKey("data/z.parquet");
obj.setCount(150);

Related Pages

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment