Struct datafusion::logical_expr::sqlparser::ast::MapAccessKey
source · pub struct MapAccessKey {
pub key: Expr,
pub syntax: MapAccessSyntax,
}
Expand description
Expression used to access a value in a nested structure.
Example: SAFE_OFFSET(0)
in
SELECT mymap[SAFE_OFFSET(0)];
Fields§
§key: Expr
§syntax: MapAccessSyntax
Trait Implementations§
source§impl Clone for MapAccessKey
impl Clone for MapAccessKey
source§fn clone(&self) -> MapAccessKey
fn clone(&self) -> MapAccessKey
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 MapAccessKey
impl Debug for MapAccessKey
source§impl Display for MapAccessKey
impl Display for MapAccessKey
source§impl Hash for MapAccessKey
impl Hash for MapAccessKey
source§impl Ord for MapAccessKey
impl Ord for MapAccessKey
source§fn cmp(&self, other: &MapAccessKey) -> Ordering
fn cmp(&self, other: &MapAccessKey) -> 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 MapAccessKey
impl PartialEq for MapAccessKey
source§impl PartialOrd for MapAccessKey
impl PartialOrd for MapAccessKey
source§impl Visit for MapAccessKey
impl Visit for MapAccessKey
source§impl VisitMut for MapAccessKey
impl VisitMut for MapAccessKey
fn visit<V>(&mut self, visitor: &mut V) -> ControlFlow<<V as VisitorMut>::Break>where
V: VisitorMut,
impl Eq for MapAccessKey
impl StructuralPartialEq for MapAccessKey
Auto Trait Implementations§
impl Freeze for MapAccessKey
impl RefUnwindSafe for MapAccessKey
impl Send for MapAccessKey
impl Sync for MapAccessKey
impl Unpin for MapAccessKey
impl UnwindSafe for MapAccessKey
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