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

One segment of a parameterized relation path in a SCAN node. More...

#include <VM.h>

Public Types

enum class  Kind { Var , Const }

Static Public Member Functions

static PathArg Var (std::string attr)
static PathArg Const (std::string val)

Public Attributes

Kind kind
std::string name
 Attribute name to look up (Var), or literal value (Const).

Detailed Description

One segment of a parameterized relation path in a SCAN node.

Var segments are resolved at runtime from the outer tuple of a JOIN: the JOIN writes the bound value into the cursor's args vector before each probe. Const segments are ground literals fixed at plan construction.

The resolved args vector is passed to the ephemeral relation's generator (for EPHEMERAL_RELATION cursors) or ignored (for stored RELATION cursors, which need no per-probe parameterization).


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