MCPcopy Create free account
hub / github.com/AmrDeveloper/GQL / DataProvider

Interface DataProvider

crates/gitql-engine/src/data_provider.rs:6–8  ·  view source on GitHub ↗

DataProvider is a component that used to provide and map the data to the GitQL Engine User should implement [`DataProvider`] trait for each data format for example files, logs, api

Source from the content-addressed store, hash-verified

4///
5/// User should implement [`DataProvider`] trait for each data format for example files, logs, api
6pub trait DataProvider {
7 fn provide(&self, table: &str, selected_columns: &[String]) -> Result<Vec<Row>, String>;
8}

Callers

nothing calls this directly

Implementers 1

gitql_data_provider.rssrc/gitql/gitql_data_provider.rs

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…