MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / expression_cache_shard

Method expression_cache_shard

src/catalog/tests/debug.rs:65–73  ·  view source on GitHub ↗
(
        &self,
    )

Source from the content-addressed store, hash-verified

63 }
64
65 fn expression_cache_shard(
66 &self,
67 ) -> Option<&((proto::SettingKey, proto::SettingValue), Timestamp, Diff)> {
68 self.0
69 .settings
70 .values
71 .iter()
72 .find(|value| Self::is_expression_cache_shard(value))
73 }
74
75 fn is_expression_cache_shard(
76 ((key, _), _, _): &((proto::SettingKey, proto::SettingValue), Timestamp, Diff),

Callers 1

test_debugFunction · 0.45

Calls 2

findMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected