hakodb 0.18.1

Embedded & Cloud-native Document Engine
Documentation
1
2
3
4
5
6
7
8
9
10
use super::super::plan::QueryPlan;
use std::sync::{Arc, RwLock};
use crate::storage::engine::{StorageEngine,Pointer};

#[derive(Clone)]
pub struct QueryTask {
    pub docs: Vec<(String, Pointer)>,
    pub plan: QueryPlan,
    pub storage: Option<Arc<RwLock<StorageEngine>>>,
}