Struct datafusion_expr::logical_plan::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§
source§impl PartialEq<Limit> for Limit
impl PartialEq<Limit> for Limit
impl Eq for Limit
impl StructuralEq for Limit
impl StructuralPartialEq for Limit
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§
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.