MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / new

Method new

graphlite/src/coordinator/query_coordinator.rs:229–234  ·  view source on GitHub ↗

Create a new QueryCoordinator (Advanced API) This is an advanced constructor for cases where you need fine-grained control over component initialization. Most users should use `from_path()` instead. # Arguments `executor` - Query executor `session_provider` - Session provider (trait object)

(executor: Arc<QueryExecutor>, session_provider: Arc<dyn SessionProvider>)

Source from the content-addressed store, hash-verified

227 /// * `executor` - Query executor
228 /// * `session_provider` - Session provider (trait object)
229 pub fn new(executor: Arc<QueryExecutor>, session_provider: Arc<dyn SessionProvider>) -> Self {
230 Self {
231 session_provider,
232 executor,
233 }
234 }
235
236 /// Execute a query with session ID
237 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected