Class ColumnFamilyLevelMetadata
- Namespace
- RocksDbNet
- Assembly
- RocksDb.Net.dll
Metadata describing the files stored at a single LSM level.
public sealed record ColumnFamilyLevelMetadata : IEquatable<ColumnFamilyLevelMetadata>
- Inheritance
-
ColumnFamilyLevelMetadata
- Implements
- Inherited Members
Constructors
ColumnFamilyLevelMetadata(int, ulong, int, IReadOnlyList<SstFileMetadata>)
Metadata describing the files stored at a single LSM level.
public ColumnFamilyLevelMetadata(int Level, ulong Size, int FileCount, IReadOnlyList<SstFileMetadata> Files)
Parameters
LevelintThe level number.
SizeulongTotal size in bytes of the files at this level.
FileCountintHow many SST files are at this level.
FilesIReadOnlyList<SstFileMetadata>Metadata for each of those files.
Properties
FileCount
How many SST files are at this level.
public int FileCount { get; init; }
Property Value
Files
Metadata for each of those files.
public IReadOnlyList<SstFileMetadata> Files { get; init; }
Property Value
Level
The level number.
public int Level { get; init; }
Property Value
Size
Total size in bytes of the files at this level.
public ulong Size { get; init; }