MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / nnz

Method nnz

nodedb-array/src/tile/sparse_tile.rs:162–164  ·  view source on GitHub ↗

Count of live (non-sentinel) rows. Used for MBR statistics and predicate-pushdown decisions. Sentinel rows are excluded. Do not use this value as a row-iteration bound.** Iteration must cover sentinel rows so callers can observe Tombstone / GdprErased markers when applying bitemporal visibility rules — use [`row_count`](Self::row_count) and filter with [`row_kind`](Self::row_kind) instead.

(&self)

Source from the content-addressed store, hash-verified

160 /// [`row_count`](Self::row_count) and filter with
161 /// [`row_kind`](Self::row_kind) instead.
162 pub fn nnz(&self) -> u32 {
163 self.mbr.nnz
164 }
165
166 /// Total physical row count including sentinel (Tombstone / GdprErased)
167 /// rows. Use this as the upper bound when iterating over rows; check

Callers 4

index_rowsFunction · 0.45
should_promote_to_denseFunction · 0.45
sparse_to_denseFunction · 0.45

Calls

no outgoing calls

Tested by 1