Table of Contents

Class SstFileMetadata

Namespace
RocksDbNet
Assembly
RocksDb.Net.dll

Metadata for a single SST file.

public sealed record SstFileMetadata : IEquatable<SstFileMetadata>
Inheritance
SstFileMetadata
Implements
Inherited Members

Constructors

SstFileMetadata(string, string, ulong, byte[]?, byte[]?)

Metadata for a single SST file.

public SstFileMetadata(string RelativeFilename, string Directory, ulong Size, byte[]? SmallestKey, byte[]? LargestKey)

Parameters

RelativeFilename string

The file name, relative to its directory.

Directory string

The directory holding the file.

Size ulong

The file size in bytes.

SmallestKey byte[]

The lowest key in the file, or null if RocksDb reported none.

LargestKey byte[]

The highest key in the file, or null if RocksDb reported none.

Properties

Directory

The directory holding the file.

public string Directory { get; init; }

Property Value

string

LargestKey

The highest key in the file, or null if RocksDb reported none.

public byte[]? LargestKey { get; init; }

Property Value

byte[]

RelativeFilename

The file name, relative to its directory.

public string RelativeFilename { get; init; }

Property Value

string

Size

The file size in bytes.

public ulong Size { get; init; }

Property Value

ulong

SmallestKey

The lowest key in the file, or null if RocksDb reported none.

public byte[]? SmallestKey { get; init; }

Property Value

byte[]