Skip to main content

ListContainsElementKernel

Trait ListContainsElementKernel 

Source
pub trait ListContainsElementKernel: VTable {
    // Required method
    fn list_contains(
        list: &dyn Array,
        element: &Self::Array,
        ctx: &mut ExecutionCtx,
    ) -> VortexResult<Option<ArrayRef>>;
}
Expand description

Check list-contains, potentially reading buffers.

Like ListContainsElementReduce, this dispatches on the element (needle) child at index 1. Unlike the reduce variant, implementations may read and execute on buffers via the provided ExecutionCtx.

Required Methods§

Source

fn list_contains( list: &dyn Array, element: &Self::Array, ctx: &mut ExecutionCtx, ) -> VortexResult<Option<ArrayRef>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§