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

Function make_row

nodedb/src/engine/timeseries/o3_buffer.rs:130–137  ·  view source on GitHub ↗
(ts: i64, series: u64, partition: i64)

Source from the content-addressed store, hash-verified

128 use super::*;
129
130 fn make_row(ts: i64, series: u64, partition: i64) -> O3Row {
131 O3Row {
132 timestamp_ms: ts,
133 series_id: series,
134 value: ts as f64,
135 target_partition_start: partition,
136 }
137 }
138
139 #[test]
140 fn insert_and_query() {

Callers 3

drain_for_partitionFunction · 0.70
dedup_last_write_winsFunction · 0.70
target_partition_countFunction · 0.70

Calls

no outgoing calls

Tested by 3

drain_for_partitionFunction · 0.56
dedup_last_write_winsFunction · 0.56
target_partition_countFunction · 0.56