Skip to main content

Module align

Module align 

Source
Expand description

Shared key decoding + result realignment for on-demand lookup sources.

Every LookupSource has the same shape around its backend-specific fetch: the operator hands keys as RowConverter-encoded bytes, the source fetches matching rows in arbitrary order, and each fetched row is matched back to its key by re-encoding its primary-key columns with the same converter. KeyAligner owns that converter and performs the decode + realign so each source only writes its fetch.

Structsยง

KeyAligner
Decodes opaque lookup keys and realigns fetched rows to the input key order.