Struct datafusion_expr::Limit
source · pub struct Limit {
pub skip: usize,
pub fetch: Option<usize>,
pub input: Arc<LogicalPlan>,
}
Expand description
Produces the first n
tuples from its input and discards the rest.
Fields
skip: usize
Number of rows to skip before fetch
fetch: Option<usize>
Maximum number of rows to fetch, None means fetching all rows
input: Arc<LogicalPlan>
The logical plan
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Limit
impl Send for Limit
impl Sync for Limit
impl Unpin for Limit
impl !UnwindSafe for Limit
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more