Append a tombstone version for `(coord, system_from_ms)`. Creates a new tile-version entry in the memtable; does NOT mutate any earlier version for this coord.
(
&mut self,
schema: &ArraySchema,
coord: Vec<CoordValue>,
system_from_ms: i64,
lsn: u64,
)
| 230 | /// new tile-version entry in the memtable; does NOT mutate any earlier |
| 231 | /// version for this coord. |
| 232 | pub fn delete_cell( |
| 233 | &mut self, |
| 234 | schema: &ArraySchema, |
| 235 | coord: Vec<CoordValue>, |
| 236 | system_from_ms: i64, |
| 237 | lsn: u64, |
| 238 | ) -> ArrayResult<TileId> { |
| 239 | let tile = tile_id_for_cell(schema, &coord, system_from_ms)?; |
| 240 | self.tiles |
| 241 | .entry(tile) |
| 242 | .or_default() |
| 243 | .push_tombstone(&coord, lsn)?; |
| 244 | Ok(tile) |
| 245 | } |
| 246 | |
| 247 | /// Append a GDPR erasure version for `(coord, system_from_ms)`. Writes |
| 248 | /// the `0xFE` sentinel rather than the `0xFF` tombstone. The ceiling |