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

Function schema

nodedb-array/src/query/elementwise.rs:162–173  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

160 use crate::types::domain::{Domain, DomainBound};
161
162 fn schema() -> ArraySchema {
163 ArraySchemaBuilder::new("g")
164 .dim(DimSpec::new(
165 "k",
166 DimType::Int64,
167 Domain::new(DomainBound::Int64(0), DomainBound::Int64(15)),
168 ))
169 .attr(AttrSpec::new("v", AttrType::Int64, true))
170 .tile_extents(vec![16])
171 .build()
172 .unwrap()
173 }
174
175 fn tile(rows: &[(i64, i64)]) -> SparseTile {
176 let s = schema();

Callers 5

tileFunction · 0.70
add_aligned_cellsFunction · 0.70
div_by_zero_returns_nullFunction · 0.70
sub_and_mulFunction · 0.70

Calls 4

buildMethod · 0.45
tile_extentsMethod · 0.45
attrMethod · 0.45
dimMethod · 0.45

Tested by 4

add_aligned_cellsFunction · 0.56
div_by_zero_returns_nullFunction · 0.56
sub_and_mulFunction · 0.56