pub struct Compiler<'a> { /* private fields */ }Expand description
Compiles a Graph into an ExecutionPlan.
Implementations§
Source§impl<'a> Compiler<'a>
impl<'a> Compiler<'a>
pub fn new( graph: &'a Graph, registry: &'a dyn FilterRegistry, mode: CompileMode, ) -> Self
Sourcepub fn compile(self, cache: Option<&dyn CacheStore>) -> Result<CompileResult>
pub fn compile(self, cache: Option<&dyn CacheStore>) -> Result<CompileResult>
Compile the graph into an execution plan.
Auto Trait Implementations§
impl<'a> Freeze for Compiler<'a>
impl<'a> !RefUnwindSafe for Compiler<'a>
impl<'a> Send for Compiler<'a>
impl<'a> Sync for Compiler<'a>
impl<'a> Unpin for Compiler<'a>
impl<'a> UnsafeUnpin for Compiler<'a>
impl<'a> !UnwindSafe for Compiler<'a>
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