Struct datafusion::sql::sqlparser::ast::OrderByExpr
source · pub struct OrderByExpr {
pub expr: Expr,
pub asc: Option<bool>,
pub nulls_first: Option<bool>,
pub with_fill: Option<WithFill>,
}
Expand description
An ORDER BY
expression
Fields§
§expr: Expr
§asc: Option<bool>
Optional ASC
or DESC
nulls_first: Option<bool>
Optional NULLS FIRST
or NULLS LAST
with_fill: Option<WithFill>
Optional: WITH FILL
Supported by [ClickHouse syntax]: https://clickhouse.com/docs/en/sql-reference/statements/select/order-by#order-by-expr-with-fill-modifier
Trait Implementations§
source§impl Clone for OrderByExpr
impl Clone for OrderByExpr
source§fn clone(&self) -> OrderByExpr
fn clone(&self) -> OrderByExpr
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 OrderByExpr
impl Debug for OrderByExpr
source§impl Display for OrderByExpr
impl Display for OrderByExpr
source§impl Hash for OrderByExpr
impl Hash for OrderByExpr
source§impl Ord for OrderByExpr
impl Ord for OrderByExpr
source§fn cmp(&self, other: &OrderByExpr) -> Ordering
fn cmp(&self, other: &OrderByExpr) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for OrderByExpr
impl PartialEq for OrderByExpr
source§impl PartialOrd for OrderByExpr
impl PartialOrd for OrderByExpr
source§impl Visit for OrderByExpr
impl Visit for OrderByExpr
source§impl VisitMut for OrderByExpr
impl VisitMut for OrderByExpr
fn visit<V>(&mut self, visitor: &mut V) -> ControlFlow<<V as VisitorMut>::Break>where
V: VisitorMut,
impl Eq for OrderByExpr
impl StructuralPartialEq for OrderByExpr
Auto Trait Implementations§
impl Freeze for OrderByExpr
impl RefUnwindSafe for OrderByExpr
impl Send for OrderByExpr
impl Sync for OrderByExpr
impl Unpin for OrderByExpr
impl UnwindSafe for OrderByExpr
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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