Skip to main content

Module overlap

Module overlap 

Source
Expand description

Finds sources that may share a row in (time, primary key) space.

Structsยง

BoundTree ๐Ÿ”’
The best bound per key coordinate, for range updates and range queries that take the larger (or smaller) of two bounds.
Earliest ๐Ÿ”’
Keeps the smaller bound.
Extent
The inclusive time and primary key bounds of one source.
Latest ๐Ÿ”’
Keeps the larger bound.

Traitsยง

Pick ๐Ÿ”’
The order in which a BoundTree keeps the better of two bounds. A type parameter rather than a function pointer, so each sweep is monomorphized.

Functionsยง

find_overlaps
Returns whether each extent intersects at least one other extent. Bounds are inclusive in both dimensions, so touching endpoints count as overlap.