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
RelativeFilenamestringThe file name, relative to its directory.
DirectorystringThe directory holding the file.
SizeulongThe file size in bytes.
SmallestKeybyte[]The lowest key in the file, or null if RocksDb reported none.
LargestKeybyte[]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
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
Size
The file size in bytes.
public ulong Size { get; init; }
Property Value
SmallestKey
The lowest key in the file, or null if RocksDb reported none.
public byte[]? SmallestKey { get; init; }
Property Value
- byte[]