Struct ella_engine::lazy::Lazy
source · pub struct Lazy { /* private fields */ }Implementations§
source§impl Lazy
impl Lazy
pub fn new(plan: Plan, backend: Arc<dyn LazyBackend + 'static>) -> Self
pub async fn execute(self) -> Result<DataFrame>
pub async fn stream(self) -> Result<LazyStream>
pub async fn rows<R: RowFormat>(self) -> Result<RowStream<R>>
pub fn col<T, S>(&self, col: &str) -> Result<Column<T, S>>where T: TensorValue, S: Shape,
pub fn col1<T: TensorValue>(&self, col: &str) -> Result<Column<T, Const<1>>>
pub fn col2<T: TensorValue>(&self, col: &str) -> Result<Column<T, Const<2>>>
pub fn col3<T: TensorValue>(&self, col: &str) -> Result<Column<T, Const<3>>>
pub fn col_dyn<T: TensorValue>(&self, col: &str) -> Result<Column<T, Dyn>>
pub fn create_view<'a>(self, table: impl Into<TableRef<'a>>) -> LazyToView
pub fn plan(&self) -> &Plan
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Lazy
impl Send for Lazy
impl Sync for Lazy
impl Unpin for Lazy
impl !UnwindSafe for Lazy
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