Struct datafusion::physical_plan::expressions::InListExpr
source · [−]pub struct InListExpr { /* private fields */ }
Expand description
InList
Implementations
sourceimpl InListExpr
impl InListExpr
sourcepub fn new(
expr: Arc<dyn PhysicalExpr + 'static>,
list: Vec<Arc<dyn PhysicalExpr + 'static>, Global>,
negated: bool
) -> InListExpr
pub fn new(
expr: Arc<dyn PhysicalExpr + 'static>,
list: Vec<Arc<dyn PhysicalExpr + 'static>, Global>,
negated: bool
) -> InListExpr
Create a new InList expression
sourcepub fn expr(&self) -> &Arc<dyn PhysicalExpr + 'static>
pub fn expr(&self) -> &Arc<dyn PhysicalExpr + 'static>
Input expression
Trait Implementations
sourceimpl Debug for InListExpr
impl Debug for InListExpr
sourceimpl Display for InListExpr
impl Display for InListExpr
sourceimpl PhysicalExpr for InListExpr
impl PhysicalExpr for InListExpr
sourcefn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Return a reference to Any that can be used for downcasting
sourcefn data_type(&self, _input_schema: &Schema) -> Result<DataType, DataFusionError>
fn data_type(&self, _input_schema: &Schema) -> Result<DataType, DataFusionError>
Get the data type of this expression, given the schema of the input
sourcefn nullable(&self, input_schema: &Schema) -> Result<bool, DataFusionError>
fn nullable(&self, input_schema: &Schema) -> Result<bool, DataFusionError>
Determine whether this expression is nullable, given the schema of the input
sourcefn evaluate(
&self,
batch: &RecordBatch
) -> Result<ColumnarValue, DataFusionError>
fn evaluate(
&self,
batch: &RecordBatch
) -> Result<ColumnarValue, DataFusionError>
Evaluate an expression against a RecordBatch
sourcefn evaluate_selection(
&self,
batch: &RecordBatch,
selection: &BooleanArray
) -> Result<ColumnarValue, DataFusionError>
fn evaluate_selection(
&self,
batch: &RecordBatch,
selection: &BooleanArray
) -> Result<ColumnarValue, DataFusionError>
Evaluate an expression against a RecordBatch after first applying a validity array Read more
Auto Trait Implementations
impl !RefUnwindSafe for InListExpr
impl Send for InListExpr
impl Sync for InListExpr
impl Unpin for InListExpr
impl !UnwindSafe for InListExpr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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