code wiki / _hdl_build / nx_analyst_store.nx

nx_analyst_store.nx

buildroot/runtime/_hdl_build/nx_analyst_store.nx

8879 B181 linesdepth 9pulls 19 transitivereach 10 importersview sourcekind librarytopic analyst
docsdependenciesstructsconstsfunctions

about

nx_analyst_store.nx -- BRIDGE: run the analytics stack on REAL STORED DATA (the "make it real" step -- the analyst pointed at seg_store records, not just hand-built in-memory columns). Scans multi-valued records under a key, parses a TAB-field of each record's value into an i64 column, and hands it to the analytics (nx_analyst_report / nx_analyst_data / nx_dataframe). This is what turns the analytics LIBRARY into an analyst you point at your actual sovereign store. license_tier: ORIGINAL

dependencies 3 imports · 7 importers

nx_syscalls.nx nx_seg_store.nx nx_analyst_report.nx nx_analyst_store.nx nx_analyst_dashboard.nx nx_analyst_store_gate.nx nx_analyst_store_scale_gate.nx nx_analyze.nx nx_analyze_seeddemo.nx nx_colframe_gate.nx nx_xform.nx

imports: nx_syscalls.nxnx_seg_store.nxnx_analyst_report.nx

imported by: nx_analyst_dashboard.nxnx_analyst_store_gate.nxnx_analyst_store_scale_gate.nxnx_analyze.nxnx_analyze_seeddemo.nxnx_colframe_gate.nxnx_xform.nx

structs

none

consts

none

functions

11func asr_field_i64(val: *u8, vlen: i64, fidx: i64) -> i64
50func asr_scan_slots(max_n: i64) -> i64
called by 1: asr_load_field_win
59func asr_load_field_win(prefix: *u8, key: *u8, fidx: i64, out_col: *i64, max_n: i64, flags: *i64) -> i64
77func asr_load_field(prefix: *u8, key: *u8, fidx: i64, out_col: *i64, max_n: i64) -> i64
called by 1: main calls 1: asr_load_field_win
82func asr_shard_key(keybase: *u8, idx: i64, out: *u8) -> i64
101func asr_load_field_sharded(prefix: *u8, keybase: *u8, fidx: i64, out_col: *i64, max_n: i64, maxshards: i64, flags: *i64) -> i64
127func asr_analyze_stored(prefix: *u8, key: *u8, field_names: *i64, nfields: i64, target_field: i64, n_max: i64, out: *u8, cap: i64) -> i64
158func asr_analyze_stored_sharded(prefix: *u8, keybase: *u8, field_names: *i64, nfields: i64, target_field: i64, n_max: i64, maxshards: i64, out: *u8, cap: i64) -> i64