Struct rocks::metadata::SstFileMetaData
[−]
[src]
pub struct SstFileMetaData { pub size: u64, pub name: String, pub db_path: String, pub smallest_seqno: SequenceNumber, pub largest_seqno: SequenceNumber, pub smallestkey: Vec<u8>, pub largestkey: Vec<u8>, pub being_compacted: bool, }
The metadata that describes a SST file.
Fields
size: u64
File size in bytes.
name: String
The name of the file.
db_path: String
The full path where the file locates.
smallest_seqno: SequenceNumber
Smallest sequence number in file.
largest_seqno: SequenceNumber
Largest sequence number in file.
smallestkey: Vec<u8>
Smallest user defined key in the file.
largestkey: Vec<u8>
Largest user defined key in the file.
being_compacted: bool
true if the file is currently being compacted.