1#![deny(missing_docs)]
9
10use ligature::{Ligature, WriteFn, QueryFn, LigatureError, Dataset};
11
12pub struct LigatureSQLite {
14 }
16
17impl LigatureSQLite {
18 fn create_or_open_file(path: String) -> LigatureSQLite {
19 todo!()
20 }
21
22 fn new_memory_store() -> LigatureSQLite {
23 todo!()
24 }
25}
26
27impl Ligature for LigatureSQLite {
28 fn all_datasets(&self) -> Box<dyn Iterator<Item=Result<Dataset, LigatureError>>> {
29 todo!()
30 }
31
32 fn dataset_exists(&self, dataset: &Dataset) -> Result<bool, LigatureError> {
33 todo!()
34 }
35
36 fn match_datasets_prefix(&self, prefix: &str) -> Box<dyn Iterator<Item=Result<Dataset, LigatureError>>> {
37 todo!()
38 }
39
40 fn match_datasets_range(&self, start: &str, end: &str) -> Box<dyn Iterator<Item=Result<Dataset, LigatureError>>> {
41 todo!()
42 }
43
44 fn create_dataset(&self, dataset: &Dataset) -> Result<(), LigatureError> {
45 todo!()
46 }
47
48 fn delete_dataset(&self, dataset: &Dataset) -> Result<(), LigatureError> {
49 todo!()
50 }
51
52 fn query<T>(&self, dataset: &Dataset, f: QueryFn<T>) -> Result<T, LigatureError> {
53 todo!()
54 }
55
56 fn write<T>(&self, dataset: &Dataset, f: WriteFn<T>) -> Result<T, LigatureError> {
57 todo!()
58 }
59}