nexyron.aggregateview_refresh

Generic Description

Refresh a named materialized aggregate view by recomputing its stored result from the current source data.

Simple example:

CALL nexyron.aggregateview_refresh({name: 'sessions_by_country'})

Catalog and projection procedures manage projected graphs, aggregate views, procedure metadata, and abstraction graph projections used by analytical workflows.

Consumer-Level Explanation

Use nexyron.aggregateview_refresh when you want to force recomputation of a materialized aggregate view and clear any stale boundary.

This is the explicit maintenance tool for views whose source shape is not on the exact incremental subset or whose cached result you want to rebuild intentionally.

Conceptual Explanation

nexyron.aggregateview_refresh should be read as one named procedure contract in the broader Nexyron Cypher surface. The procedure call is not only a syntax hook: it defines what runtime state, projection, registry entry, or graph algorithm is being asked to operate, and it determines which output columns downstream YIELD, WITH, and RETURN stages can safely use.

More Detailed Explanation

Refresh matters because Nexyron deliberately does not pretend every aggregate query can be updated incrementally and exactly.

The current design is:

That is the correct architecture here because it keeps correctness ahead of coverage.

Advanced Example

CALL nexyron.aggregateview_refresh({name: 'engagement_by_country'})
YIELD name, row_count, column_count, last_refresh_version, current_change_version, refresh_required
RETURN name,
       row_count,
       column_count,
       last_refresh_version,
       current_change_version,
       refresh_required

Real Use Cases

Real Limitations And Tradeoffs