pub struct Executor { /* private fields */ }Implementations§
Source§impl Executor
impl Executor
pub fn new() -> Self
pub fn execute_program(&mut self, program: Program) -> Result<Option<DataFrame>>
pub fn execute_statement( &mut self, statement: Statement, ) -> Result<Option<DataFrame>>
pub fn execute_pipeline(&mut self, pipeline: Pipeline) -> Result<DataFrame>
pub fn get_variable(&self, name: &str) -> Option<&DataFrame>
pub fn set_variable(&mut self, name: String, df: DataFrame)
pub fn remove_variable(&mut self, name: &str)
pub fn list_variables(&self) -> Vec<String>
pub fn get_all_variables(&self) -> HashMap<String, DataFrame>
pub fn restore_variables(&mut self, snapshot: HashMap<String, DataFrame>)
Auto Trait Implementations§
impl Freeze for Executor
impl !RefUnwindSafe for Executor
impl Send for Executor
impl Sync for Executor
impl Unpin for Executor
impl !UnwindSafe for Executor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more