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

Function put

nodedb/src/engine/array/memtable/tile_buffer.rs:350–360  ·  view source on GitHub ↗
(c: Vec<CoordValue>, a: Vec<CellValue>, sys: i64, vf: i64, vu: i64, lsn: u64)

Source from the content-addressed store, hash-verified

348 }
349
350 fn put(c: Vec<CoordValue>, a: Vec<CellValue>, sys: i64, vf: i64, vu: i64, lsn: u64) -> PutCell {
351 PutCell {
352 coord: c,
353 attrs: a,
354 surrogate: Surrogate::ZERO,
355 system_from_ms: sys,
356 valid_from_ms: vf,
357 valid_until_ms: vu,
358 lsn,
359 }
360 }
361
362 fn attrs(v: i64) -> Vec<CellValue> {
363 vec![CellValue::Int64(v)]

Calls

no outgoing calls