pub struct RdfMemory {
pub total_bytes: usize,
pub triple_count: usize,
pub triples_and_indexes_bytes: usize,
pub term_dictionary_bytes: usize,
pub ring_index_bytes: usize,
pub named_graph_count: usize,
}Expand description
RDF triple store memory breakdown.
Default is empty (all zeros) when the triple-store feature is disabled,
so users on LPG-only builds see no RDF line in the hierarchical report.
Fields§
§total_bytes: usizeTotal estimated RDF memory in bytes.
triple_count: usizeNumber of triples across the default graph and any named graphs.
triples_and_indexes_bytes: usizePrimary triple set and all six index maps (subject, predicate, object, SP, PO, OS).
term_dictionary_bytes: usizeCached term dictionary bytes (None when no cache is warm).
ring_index_bytes: usizeCached Ring index bytes (only populated when ring-index is enabled).
named_graph_count: usizeNamed graphs in the default store (does not include nested graph memory,
which is summed into triples_and_indexes_bytes).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RdfMemory
impl<'de> Deserialize<'de> for RdfMemory
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RdfMemory
impl RefUnwindSafe for RdfMemory
impl Send for RdfMemory
impl Sync for RdfMemory
impl Unpin for RdfMemory
impl UnsafeUnpin for RdfMemory
impl UnwindSafe for RdfMemory
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more