pub struct IndexMemory {
pub total_bytes: usize,
pub forward_adjacency_bytes: usize,
pub backward_adjacency_bytes: usize,
pub label_index_bytes: usize,
pub node_labels_bytes: usize,
pub property_index_bytes: usize,
pub vector_indexes: Vec<NamedMemory>,
pub text_indexes: Vec<NamedMemory>,
}Expand description
Memory used by index structures.
Fields§
§total_bytes: usizeTotal index memory.
forward_adjacency_bytes: usizeForward adjacency lists.
backward_adjacency_bytes: usizeBackward adjacency lists (0 if disabled).
label_index_bytes: usizeLabel index (label_id -> node set).
node_labels_bytes: usizeNode-to-labels reverse index.
property_index_bytes: usizeProperty value indexes.
vector_indexes: Vec<NamedMemory>Per-index breakdown for vector indexes.
text_indexes: Vec<NamedMemory>Per-index breakdown for text indexes.
Implementations§
Source§impl IndexMemory
impl IndexMemory
Sourcepub fn compute_total(&mut self)
pub fn compute_total(&mut self)
Recomputes total_bytes from child values.
Trait Implementations§
Source§impl Clone for IndexMemory
impl Clone for IndexMemory
Source§fn clone(&self) -> IndexMemory
fn clone(&self) -> IndexMemory
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IndexMemory
impl Debug for IndexMemory
Source§impl Default for IndexMemory
impl Default for IndexMemory
Source§fn default() -> IndexMemory
fn default() -> IndexMemory
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IndexMemory
impl<'de> Deserialize<'de> for IndexMemory
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 IndexMemory
impl RefUnwindSafe for IndexMemory
impl Send for IndexMemory
impl Sync for IndexMemory
impl Unpin for IndexMemory
impl UnsafeUnpin for IndexMemory
impl UnwindSafe for IndexMemory
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