pub struct Sort {
pub input: PlanNodeId,
pub items: Vec<ResolvedSortItem>,
pub top_k: Option<usize>,
pub limit: Option<SortLimit>,
}Fields§
§input: PlanNodeId§items: Vec<ResolvedSortItem>§top_k: Option<usize>Optional upper bound for rows the sort must retain because a parent LIMIT will discard everything after this many sorted rows.
limit: Option<SortLimit>The parent LIMIT’s SKIP / LIMIT expressions when they are not
literals (LIMIT $n): the executor evaluates them once per run and
keeps only skip + limit rows, like a static Sort::top_k.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Sort
impl RefUnwindSafe for Sort
impl Send for Sort
impl Sync for Sort
impl Unpin for Sort
impl UnsafeUnpin for Sort
impl UnwindSafe for Sort
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