KeyedVariable
HashMap-backed reference-data store. Maintains a mutable key→value map updated from a changelog stream and answers point-in-time lookup queries.
Ports
| Port | Direction | Type | Description |
|---|
| i1 | data | VectorNumberData [key, value] | Updates map: map[key] = value; NaN value deletes the key |
| c1 | control | NumberData | Key to look up; emits result on o1 |
| c2 | control | NumberData | Heartbeat — advances the timeline without changing state |
| o1 | output | BooleanData or NumberData | Result of the lookup (type depends on mode) |
Properties
| Property | Type | Default | Description |
|---|
id | string | — | Operator identifier |
mode | string | "exists" | Output type: "exists" (boolean) or "lookup" (numeric value) |
default_value | number | 0.0 | Returned in lookup mode when the key is absent |
Processing Order (same timestamp)
- c2 advances
heartbeat_time - i1 updates the HashMap
- c1 queries are resolved against the updated state