Skip to main content

Module table

Module table 

Source
Expand description

Lookup table trait and configuration. Lookup table trait and configuration types.

A LookupTable provides synchronous key-value access for enriching stream events via lookup joins. The trait is Send + Sync so tables can be shared across operator instances in a thread-per-core runtime.

§Lookup Flow

  1. Stream event arrives at a lookup join operator
  2. Operator calls get_cached (Ring 0, < 500ns)
  3. On cache miss, calls get (may hit disk/network)
  4. Result is joined with the stream event

Structs§

LookupTableConfig
Configuration for a lookup table instance.

Enums§

LookupResult
Result of a lookup operation.
LookupStrategy
Strategy for how lookup table data is distributed.

Traits§

LookupTable
Synchronous lookup table interface for Ring 0 operators.