pub struct SelectExpr { /* private fields */ }Implementations§
Source§impl SelectExpr
impl SelectExpr
pub fn new(fields: SelectField, child: ExprRef) -> Self
pub fn new_expr(fields: SelectField, child: ExprRef) -> ExprRef
pub fn include_expr(columns: FieldNames, child: ExprRef) -> ExprRef
pub fn exclude_expr(columns: FieldNames, child: ExprRef) -> ExprRef
pub fn fields(&self) -> &SelectField
pub fn child(&self) -> &ExprRef
pub fn as_include(&self, field_names: &FieldNames) -> VortexResult<ExprRef>
Methods from Deref<Target = dyn VortexExpr>§
pub fn id(&self) -> ExprId
pub fn is<V: VTable>(&self) -> bool
pub fn as_<V: VTable>(&self) -> &V::Expr
pub fn as_opt<V: VTable>(&self) -> Option<&V::Expr>
Sourcepub fn evaluate(&self, scope: &Scope) -> VortexResult<ArrayRef>
pub fn evaluate(&self, scope: &Scope) -> VortexResult<ArrayRef>
Compute result of expression on given batch producing a new batch
Trait Implementations§
Source§impl AnalysisExpr for SelectExpr
impl AnalysisExpr for SelectExpr
Source§fn stat_falsification(&self, _catalog: &mut dyn StatsCatalog) -> Option<ExprRef>
fn stat_falsification(&self, _catalog: &mut dyn StatsCatalog) -> Option<ExprRef>
An expression over zone-statistics which implies all records in the zone evaluate to false. Read more
Source§fn max(&self, _catalog: &mut dyn StatsCatalog) -> Option<ExprRef>
fn max(&self, _catalog: &mut dyn StatsCatalog) -> Option<ExprRef>
An expression for the upper non-null bound of this expression, if available. Read more
Source§fn min(&self, _catalog: &mut dyn StatsCatalog) -> Option<ExprRef>
fn min(&self, _catalog: &mut dyn StatsCatalog) -> Option<ExprRef>
An expression for the lower non-null bound of this expression, if available. Read more
Source§fn nan_count(&self, _catalog: &mut dyn StatsCatalog) -> Option<ExprRef>
fn nan_count(&self, _catalog: &mut dyn StatsCatalog) -> Option<ExprRef>
An expression for the NaN count for a column, if available. Read more
fn field_path(&self) -> Option<FieldPath>
Source§impl AsRef<dyn VortexExpr> for SelectExpr
impl AsRef<dyn VortexExpr> for SelectExpr
Source§fn as_ref(&self) -> &dyn VortexExpr
fn as_ref(&self) -> &dyn VortexExpr
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for SelectExpr
impl Clone for SelectExpr
Source§fn clone(&self) -> SelectExpr
fn clone(&self) -> SelectExpr
Returns a duplicate 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 SelectExpr
impl Debug for SelectExpr
Source§impl Deref for SelectExpr
impl Deref for SelectExpr
Source§impl Display for SelectExpr
impl Display for SelectExpr
Source§impl Hash for SelectExpr
impl Hash for SelectExpr
Source§impl IntoExpr for SelectExpr
impl IntoExpr for SelectExpr
Source§impl PartialEq for SelectExpr
impl PartialEq for SelectExpr
Auto Trait Implementations§
impl Freeze for SelectExpr
impl !RefUnwindSafe for SelectExpr
impl Send for SelectExpr
impl Sync for SelectExpr
impl Unpin for SelectExpr
impl !UnwindSafe for SelectExpr
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§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