code wiki / _hdl_build / nx_store_query.nx

nx_store_query.nx

buildroot/runtime/_hdl_build/nx_store_query.nx

6888 B212 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tooltopic store
docsdependenciesstructsconstsfunctions

about

nx_store_query.nx -- the FRONT DOOR to the sovereign information store (knowledge/store/im-*). Pure NishiLang, NO SQL -- the operator's queryable interface to the team's own substrate: get <key> latest record state (FOUND + printable dump / GONE / ABSENT) term <word> full-text term search, current-state semantics and <w1> <w2>..multi-term AND search (up to 8 terms, postings-driven intersection, same current-state semantics) hist <key> every stored version, oldest -> newest (the time-travel surface) histall <key> FULL history incl. compaction-archived segments (labeled) compact fold live segments (also the FORMAT-UPGRADE path: old segments without .terms become searchable after compaction) license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_seg_store.nx nx_store_query.nx

imports: nx_syscalls.nxnx_seg_store.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sq_p sys_write sq_streq ss_compact sys_mmap ss_manifest_dyn ss_manifest_file_dyn sys_mmap ↻ ss_cat ss_readall sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_close sys_munmap ss_cat ↻ ss_readall ↻ ss_r32 ss_kcmp ss_begin_cap sys_mmap ↻ ss_add2 ss_w32 ss_write_seg ss_segid_ok sys_mmap ↻ ss_cat ↻ ss_catn sys_mmap ↻ sys_write ↻ ss_segname ss_cat ↻ ss_catn ↻ ss_writefile sys_openat_wr sys_write ↻ sys_close ↻ sys_fsync

structs

none

consts

none

functions

17func sq_p(s: *u8) -> i64
called by 1: main calls 1: sys_write
24func sq_pn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
38func sq_streq(a: *u8, b: *u8) -> i64
called by 1: main
49func sq_dump(p: *u8, n: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
63func main(argc: i64, argv: *i64) -> i64