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 limit(self, limit: usize) -> Result<Self>
pub fn skip(self, skip: usize) -> Result<Self>
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 Freeze for Lazy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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