Struct datafusion_expr::expr::GetIndexedField
source · pub struct GetIndexedField {
pub expr: Box<Expr>,
pub field: GetFieldAccess,
}
Expand description
Returns the field of a [arrow::array::ListArray
] or
[arrow::array::StructArray
] by key
. See GetFieldAccess
for
details.
Fields§
§expr: Box<Expr>
The expression to take the field from
field: GetFieldAccess
The name of the field to take
Implementations§
source§impl GetIndexedField
impl GetIndexedField
sourcepub fn new(expr: Box<Expr>, field: GetFieldAccess) -> Self
pub fn new(expr: Box<Expr>, field: GetFieldAccess) -> Self
Create a new GetIndexedField expression
Trait Implementations§
source§impl Clone for GetIndexedField
impl Clone for GetIndexedField
source§fn clone(&self) -> GetIndexedField
fn clone(&self) -> GetIndexedField
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 GetIndexedField
impl Debug for GetIndexedField
source§impl Hash for GetIndexedField
impl Hash for GetIndexedField
source§impl PartialEq<GetIndexedField> for GetIndexedField
impl PartialEq<GetIndexedField> for GetIndexedField
source§fn eq(&self, other: &GetIndexedField) -> bool
fn eq(&self, other: &GetIndexedField) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for GetIndexedField
impl StructuralEq for GetIndexedField
impl StructuralPartialEq for GetIndexedField
Auto Trait Implementations§
impl !RefUnwindSafe for GetIndexedField
impl Send for GetIndexedField
impl Sync for GetIndexedField
impl Unpin for GetIndexedField
impl !UnwindSafe for GetIndexedField
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.