Skip to main content

DocCollectionInfo

Type Alias DocCollectionInfo 

Source
pub type DocCollectionInfo = CollectionInfo;
Expand description

Metadata snapshot for a document collection (document count, field count, etc.).

Aliased Type§

pub struct DocCollectionInfo {
    pub id: u16,
    pub name: String,
    pub created_at: u64,
    pub compression: CompressionProfile,
    pub doc_count: u64,
    pub dictionary_entries: usize,
}

Fields§

§id: u16

Collection ID.

§name: String

Collection name.

§created_at: u64

Creation timestamp (seconds since UNIX epoch).

§compression: CompressionProfile

Compression profile.

§doc_count: u64

Number of documents currently stored in this engine.

§dictionary_entries: usize

Number of entries in the collection dictionary.