Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

name: type-set-u64
kind: type
description: 8-byte multi-select bitmask over an inline dictionary of up to 64 labels.
type: reference
applies_to: inspect, predict

Bytes

Fixed-width: 8 bytes per record, little-endian. Not bit-packed (the value is consumed atomically as a bitmask). Stride contributes 8 bytes. Bit i of the 64-bit value corresponds to dictionary entry i — bit set means “label i selected”.

Range

Up to MaxSetEntries() = 64 distinct labels in the inline dictionary — the widest rung reachable through the uint64 value API; wider dictionaries go to type-set-u128 / type-set-u256. 2^64 selection patterns are representable on the wire. Empty mask (0x0) is a valid value meaning “no labels selected” — it is NOT null. Overflow on import → PULSE_IMPORT_SET_OVERFLOW.

Null

Orthogonal. Nullable: true participates in the per-record null bitmap; null is signaled there alone. Empty mask is distinct from null. In-band sentinels are explicitly disallowed for set_* types.

Dictionary

Present (HasDictionary() = true). Inline schema block, shared across all records; MaxDictEntries() = 64. Shard cohesion: union-merge under the 64-label cap; width overflow → PULSE_SHARD_DICT_WIDTH_OVERFLOW. An SPSS multiple-DICHOTOMY response set imports as one of these, with the constituent variables’ field names as the entries — additively, beside the constituent columns themselves (cohort-schema-design, SPSS import).

See