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

Function schema

nodedb-array/src/codec/tile_decode.rs:202–213  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

200 use nodedb_types::{OPEN_UPPER, Surrogate};
201
202 fn schema() -> crate::schema::ArraySchema {
203 ArraySchemaBuilder::new("t")
204 .dim(DimSpec::new(
205 "x",
206 DimType::Int64,
207 Domain::new(DomainBound::Int64(0), DomainBound::Int64(1_000_000)),
208 ))
209 .attr(AttrSpec::new("v", AttrType::Int64, true))
210 .tile_extents(vec![1000])
211 .build()
212 .unwrap()
213 }
214
215 fn make_tile(s: &crate::schema::ArraySchema, n: usize) -> SparseTile {
216 let mut b = SparseTileBuilder::new(s);

Callers 7

empty_tile_roundtripFunction · 0.70
small_tile_roundtripFunction · 0.70
tombstone_rows_roundtripFunction · 0.70

Calls 4

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

Tested by 7

empty_tile_roundtripFunction · 0.56
small_tile_roundtripFunction · 0.56
tombstone_rows_roundtripFunction · 0.56