pub struct SortOrderPred(pub ArcDfPredNode);
Tuple Fields§
§0: ArcDfPredNode
Implementations§
Source§impl SortOrderPred
impl SortOrderPred
pub fn new(order: SortOrderType, child: ArcDfPredNode) -> Self
pub fn child(&self) -> ArcDfPredNode
pub fn order(&self) -> SortOrderType
Trait Implementations§
Source§impl Clone for SortOrderPred
impl Clone for SortOrderPred
Source§fn clone(&self) -> SortOrderPred
fn clone(&self) -> SortOrderPred
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SortOrderPred
impl Debug for SortOrderPred
Source§impl DfReprPredNode for SortOrderPred
impl DfReprPredNode for SortOrderPred
fn into_pred_node(self) -> ArcDfPredNode
fn from_pred_node(pred_node: ArcDfPredNode) -> Option<Self>
fn explain(&self, meta_map: Option<&PlanNodeMetaMap>) -> Pretty<'static>
fn explain_to_string(&self, meta_map: Option<&PlanNodeMetaMap>) -> String
Auto Trait Implementations§
impl Freeze for SortOrderPred
impl RefUnwindSafe for SortOrderPred
impl Send for SortOrderPred
impl Sync for SortOrderPred
impl Unpin for SortOrderPred
impl UnwindSafe for SortOrderPred
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 moreSource§impl<P> PredExt for Pwhere
P: DfReprPredNode,
impl<P> PredExt for Pwhere
P: DfReprPredNode,
Source§fn rewrite_column_refs(
&self,
rewrite_fn: impl FnMut(usize) -> Option<usize>,
) -> Option<P>
fn rewrite_column_refs( &self, rewrite_fn: impl FnMut(usize) -> Option<usize>, ) -> Option<P>
Recursively rewrite all column references in the expression.using a provided
function that replaces a column index.
The provided function will, given a ColumnRefExpr’s index,
return either Some(usize) or None. Read more