Skip to main content

Module layout

Module layout 

Source
Expand description

Tile layout — mapping cell coordinates to tile boundaries.

Tile coordinates are cell coordinates integer-divided by the schema’s tile_extents. The space-filling-curve prefix is computed over the tile coordinates (not cell coordinates), so cells in the same tile share a TileId::hilbert_prefix.

Functions§

cell_tile_prefix
The key of the tile that holds the cell at coord: the key every cluster path routes the cell by. Fails when coord lies outside the schema’s domain.
tile_id_for_cell
Compute the TileId for one cell coordinate at a given system time. Non-bitemporal callers pass system_from_ms = 0; bitemporal writes supply the leader-stamped HLC component.
tile_indices_for_cell
Compute the per-dim tile index for one cell coordinate.
tile_prefix
The space-filling-curve key of the tile at tile_indices.
tiles_per_dim
The number of tiles along dim for tile extent extent. Mirrors how tile_indices_for_cell numbers them: a cell in the domain has a tile index below this count.