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

Method iter_rows

nodedb-columnar/src/memtable/mod.rs:118–124  ·  view source on GitHub ↗

Iterate rows as `Vec `. For scan/read operations.

(&self)

Source from the content-addressed store, hash-verified

116
117 /// Iterate rows as `Vec<Value>`. For scan/read operations.
118 pub fn iter_rows(&self) -> MemtableRowIter<'_> {
119 MemtableRowIter {
120 columns: &self.columns,
121 row_count: self.row_count,
122 current: 0,
123 }
124 }
125
126 /// Get a single row by index as `Vec<Value>`.
127 pub fn get_row(&self, row_idx: usize) -> Option<Vec<Value>> {

Callers 2

scan_memtable_rowsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected