Enum datafusion_expr::expr::GetFieldAccess
source · pub enum GetFieldAccess {
NamedStructField {
name: ScalarValue,
},
ListIndex {
key: Box<Expr>,
},
ListRange {
start: Box<Expr>,
stop: Box<Expr>,
stride: Box<Expr>,
},
}Expand description
Access a sub field of a nested type, such as Field or List
Variants§
NamedStructField
Named field, for example struct["name"]
Fields
§
name: ScalarValueListIndex
Single list index, for example: list[i]
ListRange
List stride, for example list[i:j:k]
Trait Implementations§
source§impl Clone for GetFieldAccess
impl Clone for GetFieldAccess
source§fn clone(&self) -> GetFieldAccess
fn clone(&self) -> GetFieldAccess
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 GetFieldAccess
impl Debug for GetFieldAccess
source§impl Hash for GetFieldAccess
impl Hash for GetFieldAccess
source§impl PartialEq for GetFieldAccess
impl PartialEq for GetFieldAccess
source§fn eq(&self, other: &GetFieldAccess) -> bool
fn eq(&self, other: &GetFieldAccess) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for GetFieldAccess
impl StructuralPartialEq for GetFieldAccess
Auto Trait Implementations§
impl Freeze for GetFieldAccess
impl !RefUnwindSafe for GetFieldAccess
impl Send for GetFieldAccess
impl Sync for GetFieldAccess
impl Unpin for GetFieldAccess
impl !UnwindSafe for GetFieldAccess
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<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.