Function mz_adapter::catalog::apply::apply_with_update

source ยท
fn apply_with_update<K, V, D>(
    map: &mut BTreeMap<K, V>,
    durable: D,
    key_fn: impl FnOnce(&D) -> K,
    diff: StateDiff,
    retractions: &mut BTreeMap<D::Key, V>,
)
where K: Ord, V: UpdateFrom<D> + PartialEq + Debug, D: DurableType, D::Key: Ord,
Expand description

Helper method to update catalog state, that may need to be updated from a previously retracted object.