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 whencoordlies outside the schema’s domain. - tile_
id_ for_ cell - Compute the
TileIdfor one cell coordinate at a given system time. Non-bitemporal callers passsystem_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
dimfor tile extentextent. Mirrors howtile_indices_for_cellnumbers them: a cell in the domain has a tile index below this count.