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

Method instance

src/compute-client/src/controller.rs:334–336  ·  view source on GitHub ↗

Return a reference to the indicated compute instance.

(&self, id: ComputeInstanceId)

Source from the content-addressed store, hash-verified

332
333 /// Return a reference to the indicated compute instance.
334 fn instance(&self, id: ComputeInstanceId) -> Result<&InstanceState, InstanceMissing> {
335 self.instances.get(&id).ok_or(InstanceMissing(id))
336 }
337
338 /// Return an `InstanceClient` for the indicated compute instance.
339 pub fn instance_client(

Callers 14

instance_clientMethod · 0.80
collection_idsMethod · 0.80
collection_frontiersMethod · 0.80
collection_hydratedMethod · 0.80
create_dataflowMethod · 0.80
peekMethod · 0.80
cancel_peekMethod · 0.80
set_read_policyMethod · 0.80

Calls 2

InstanceMissingClass · 0.85
getMethod · 0.45

Tested by

no test coverage detected