[−][src]Struct locustdb::LocustDB
Implementations
impl LocustDB
[src]
pub fn memory_only() -> LocustDB
[src]
pub fn new(opts: &Options) -> LocustDB
[src]
pub async fn run_query<'_, '_>(
&'_ self,
query: &'_ str,
explain: bool,
show: Vec<usize>
) -> Result<QueryResult, Canceled>
[src]
&'_ self,
query: &'_ str,
explain: bool,
show: Vec<usize>
) -> Result<QueryResult, Canceled>
pub async fn load_csv<'_>(
&'_ self,
options: LoadOptions
) -> Result<(), Box<dyn Error>>
[src]
&'_ self,
options: LoadOptions
) -> Result<(), Box<dyn Error>>
pub async fn gen_table<'_>(&'_ self, opts: GenTable) -> Result<(), Canceled>
[src]
pub fn ast(&self, query: &str) -> String
[src]
pub async fn bulk_load<'_>(&'_ self) -> Result<Vec<MemTreeTable>, Canceled>
[src]
pub fn recover(&self)
[src]
pub async fn mem_tree<'_>(
&'_ self,
depth: usize
) -> Result<Vec<MemTreeTable>, Canceled>
[src]
&'_ self,
depth: usize
) -> Result<Vec<MemTreeTable>, Canceled>
pub async fn table_stats<'_>(&'_ self) -> Result<Vec<TableStats>, Canceled>
[src]
pub fn schedule<T: Task + 'static>(&self, task: T)
[src]
pub fn persistent_storage<P: AsRef<Path>>(_: P) -> Arc<dyn DiskStore>
[src]
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for LocustDB
impl Send for LocustDB
impl Sync for LocustDB
impl Unpin for LocustDB
impl !UnwindSafe for LocustDB
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,