pub struct DiskANNReadChanges { /* private fields */ }Expand description
Immutable, ordered replacements selected from actual DiskANN snapshots. None selects an evaluated deletion independently of retained source membership. A selected document absent from its source is also deleted; a zero-ordinal origin remains an explicit empty replacement. None of these cases falls through to the original tensor. Clones share the sparse directory and its original allowance.
Implementations§
Source§impl DiskANNReadChanges
impl DiskANNReadChanges
Sourcepub fn capture(
sources: impl IntoIterator<Item = StorageBackendResult<(DocId, Option<DiskANNReadSnapshot>)>>,
control: &StorageReadControl,
) -> StorageBackendResult<Self>
pub fn capture( sources: impl IntoIterator<Item = StorageBackendResult<(DocId, Option<DiskANNReadSnapshot>)>>, control: &StorageReadControl, ) -> StorageBackendResult<Self>
Capture a strictly increasing document selection. Callers supply the already evaluated private source for each replacement and None for each deletion; unselected documents remain on the original view.
Sourcepub fn without_unselected_documents(self) -> Self
pub fn without_unselected_documents(self) -> Self
Select only these evaluated documents, masking every unselected document in the receiver. The caller must establish that this is the complete visible row selection; source lineage and width are still validated against the retained physical index.