Structs§
- Stored
CpBloom Block - Stored bloom block in the database (one row per bloom block per checkpoint block).
Constants§
- BLOOM_
BLOCK_ BITS - Number of bits per bloom block.
- BLOOM_
BLOCK_ BYTES - Size of each bloom block in bytes.
- CP_
BLOCK_ SIZE - Number of checkpoints per checkpoint block.
- NUM_
BLOOM_ BLOCKS - Number of blocks in the bloom filter (stored as separate database rows).
- NUM_
HASHES - Number of hash functions (k) used per key.
- TOTAL_
BLOOM_ BITS - Total bits in the bloom filter (256KB).
Functions§
- cp_
block_ index - The block a checkpoint belongs to. Checkpoints in a block share the same bloom filter and the block id is used as the seed for the blocked bloom filter hash functions.
- function_
bytea_ or - Performs bitwise OR on two bytea values. Used for merging bloom filters.
Type Aliases§
- CpBlocked
Bloom Filter - Blocked bloom filter with checkpoint block dimensions.
- function_
bytea_ or - The return type of
function_bytea_or()