pub struct SqlTransform { /* private fields */ }Expand description
A compiled SQL transform. One DuckDB connection, reused across the row’s pages.
Implementations§
Source§impl SqlTransform
impl SqlTransform
Sourcepub fn compile(cfg: &SqlTransformConfig) -> Result<Self, FaucetError>
pub fn compile(cfg: &SqlTransformConfig) -> Result<Self, FaucetError>
Build the connection, load reference relations, and validate the query.
Sourcepub fn into_page_stage(self) -> TransformStage
pub fn into_page_stage(self) -> TransformStage
Consume into a page-level transform stage.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SqlTransform
impl RefUnwindSafe for SqlTransform
impl Send for SqlTransform
impl Sync for SqlTransform
impl Unpin for SqlTransform
impl UnsafeUnpin for SqlTransform
impl UnwindSafe for SqlTransform
Blanket Implementations§
impl<T> Allocation for T
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