Relational NT
A relational database kernel shaped around NT-style object management.
Loading...
Searching...
No Matches
PlanArgsMaterialize Struct Reference

MATERIALIZE context: caches source on its first scan, then replays the cache on later scans without touching source again. More...

#include <RNT_C_API.h>

Public Attributes

rnt_plan_t source

Detailed Description

MATERIALIZE context: caches source on its first scan, then replays the cache on later scans without touching source again.

Put this on the inner side of a JOIN so the inner relation is read once instead of once per outer tuple. Only safe when source does not depend on the outer tuple (no Var SCAN leaves bound by the JOIN), since the cache is reused as-is for every outer tuple. Takes ownership of source; on failure source is freed.


The documentation for this struct was generated from the following file: