MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / pack_cells

Function pack_cells

src/clusterd-test-driver/src/data.rs:65–72  ·  view source on GitHub ↗

Pack one row from owned cells, in column order.

(cells: &[Cell])

Source from the content-addressed store, hash-verified

63
64/// Pack one row from owned cells, in column order.
65pub fn pack_cells(cells: &[Cell]) -> Row {
66 let mut row = Row::default();
67 let mut packer = row.packer();
68 for cell in cells {
69 packer.push(cell.datum());
70 }
71 row
72}
73
74/// A two-column `(bigint, text)` schema used as the default for the generators
75/// and the script reader.

Callers 2

synth_rowsFunction · 0.85
rows_from_tokensFunction · 0.85

Calls 3

packerMethod · 0.80
pushMethod · 0.45
datumMethod · 0.45

Tested by

no test coverage detected