Trait vortex_expr::VortexExpr
source · pub trait VortexExpr:
Debug
+ Send
+ Sync
+ PartialEq<dyn Any>
+ Display {
// Required methods
fn as_any(&self) -> &dyn Any;
fn evaluate(&self, batch: &ArrayData) -> VortexResult<ArrayData>;
// Provided methods
fn collect_references<'a>(&'a self, _references: &mut HashSet<&'a Field>) { ... }
fn references(&self) -> HashSet<&Field> { ... }
}
Expand description
Represents logical operation on [ArrayData
]s
Required Methods§
Provided Methods§
sourcefn collect_references<'a>(&'a self, _references: &mut HashSet<&'a Field>)
fn collect_references<'a>(&'a self, _references: &mut HashSet<&'a Field>)
Accumulate all field references from this expression and its children in the provided set
sourcefn references(&self) -> HashSet<&Field>
fn references(&self) -> HashSet<&Field>
Accumulate all field references from this expression and its children in a new set