Struct datafusion_expr::expr::GetIndexedField
source · pub struct GetIndexedField {
pub expr: Box<Expr>,
pub key: ScalarValue,
}
Expand description
Returns the field of a [arrow::array::ListArray
] or [arrow::array::StructArray
] by key
Fields
expr: Box<Expr>
the expression to take the field from
key: ScalarValue
The name of the field to take
Implementations
sourceimpl GetIndexedField
impl GetIndexedField
sourcepub fn new(expr: Box<Expr>, key: ScalarValue) -> Self
pub fn new(expr: Box<Expr>, key: ScalarValue) -> Self
Create a new GetIndexedField expression
Trait Implementations
sourceimpl Clone for GetIndexedField
impl Clone for GetIndexedField
sourcefn clone(&self) -> GetIndexedField
fn clone(&self) -> GetIndexedField
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Hash for GetIndexedField
impl Hash for GetIndexedField
sourceimpl PartialEq<GetIndexedField> for GetIndexedField
impl PartialEq<GetIndexedField> for GetIndexedField
sourcefn eq(&self, other: &GetIndexedField) -> bool
fn eq(&self, other: &GetIndexedField) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more