polars_compute::comparisons

Trait TotalEqKernel

Source
pub trait TotalEqKernel: Sized + Array {
    type Scalar: ?Sized;

    // Required methods
    fn tot_eq_kernel(&self, other: &Self) -> Bitmap;
    fn tot_ne_kernel(&self, other: &Self) -> Bitmap;
    fn tot_eq_kernel_broadcast(&self, other: &Self::Scalar) -> Bitmap;
    fn tot_ne_kernel_broadcast(&self, other: &Self::Scalar) -> Bitmap;

    // Provided methods
    fn tot_eq_missing_kernel(&self, other: &Self) -> Bitmap { ... }
    fn tot_ne_missing_kernel(&self, other: &Self) -> Bitmap { ... }
    fn tot_eq_missing_kernel_broadcast(&self, other: &Self::Scalar) -> Bitmap { ... }
    fn tot_ne_missing_kernel_broadcast(&self, other: &Self::Scalar) -> Bitmap { ... }
}

Required Associated Types§

Required Methods§

Source

fn tot_eq_kernel(&self, other: &Self) -> Bitmap

Source

fn tot_ne_kernel(&self, other: &Self) -> Bitmap

Source

fn tot_eq_kernel_broadcast(&self, other: &Self::Scalar) -> Bitmap

Source

fn tot_ne_kernel_broadcast(&self, other: &Self::Scalar) -> Bitmap

Provided Methods§

Source

fn tot_eq_missing_kernel(&self, other: &Self) -> Bitmap

Source

fn tot_ne_missing_kernel(&self, other: &Self) -> Bitmap

Source

fn tot_eq_missing_kernel_broadcast(&self, other: &Self::Scalar) -> Bitmap

Source

fn tot_ne_missing_kernel_broadcast(&self, other: &Self::Scalar) -> Bitmap

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.

Implementations on Foreign Types§

Source§

impl TotalEqKernel for BooleanArray

Source§

type Scalar = bool

Source§

fn tot_eq_kernel(&self, other: &Self) -> Bitmap

Source§

fn tot_ne_kernel(&self, other: &Self) -> Bitmap

Source§

fn tot_eq_kernel_broadcast(&self, other: &Self::Scalar) -> Bitmap

Source§

fn tot_ne_kernel_broadcast(&self, other: &Self::Scalar) -> Bitmap

Source§

impl TotalEqKernel for FixedSizeBinaryArray

Source§

type Scalar = [u8]

Source§

fn tot_eq_kernel(&self, other: &Self) -> Bitmap

Source§

fn tot_ne_kernel(&self, other: &Self) -> Bitmap

Source§

fn tot_eq_kernel_broadcast(&self, other: &Self::Scalar) -> Bitmap

Source§

fn tot_ne_kernel_broadcast(&self, other: &Self::Scalar) -> Bitmap

Source§

impl TotalEqKernel for NullArray

Source§

type Scalar = Box<dyn Array>

Source§

fn tot_eq_kernel(&self, other: &Self) -> Bitmap

Source§

fn tot_ne_kernel(&self, other: &Self) -> Bitmap

Source§

fn tot_eq_kernel_broadcast(&self, _other: &Self::Scalar) -> Bitmap

Source§

fn tot_ne_kernel_broadcast(&self, _other: &Self::Scalar) -> Bitmap

Source§

impl TotalEqKernel for StructArray

Source§

type Scalar = Box<dyn Array>

Source§

fn tot_eq_kernel(&self, other: &Self) -> Bitmap

Source§

fn tot_ne_kernel(&self, other: &Self) -> Bitmap

Source§

fn tot_eq_kernel_broadcast(&self, _other: &Self::Scalar) -> Bitmap

Source§

fn tot_ne_kernel_broadcast(&self, _other: &Self::Scalar) -> Bitmap

Source§

impl TotalEqKernel for BinaryViewArray

Source§

type Scalar = [u8]

Source§

fn tot_eq_kernel(&self, other: &Self) -> Bitmap

Source§

fn tot_ne_kernel(&self, other: &Self) -> Bitmap

Source§

fn tot_eq_kernel_broadcast(&self, other: &Self::Scalar) -> Bitmap

Source§

fn tot_ne_kernel_broadcast(&self, other: &Self::Scalar) -> Bitmap

Source§

impl TotalEqKernel for Utf8ViewArray

Source§

type Scalar = str

Source§

fn tot_eq_kernel(&self, other: &Self) -> Bitmap

Source§

fn tot_ne_kernel(&self, other: &Self) -> Bitmap

Source§

fn tot_eq_kernel_broadcast(&self, other: &Self::Scalar) -> Bitmap

Source§

fn tot_ne_kernel_broadcast(&self, other: &Self::Scalar) -> Bitmap

Source§

impl<K: DictionaryKey> TotalEqKernel for DictionaryArray<K>

Source§

type Scalar = Box<dyn Array>

Source§

fn tot_eq_kernel(&self, other: &Self) -> Bitmap

Source§

fn tot_ne_kernel(&self, other: &Self) -> Bitmap

Source§

fn tot_eq_kernel_broadcast(&self, _other: &Self::Scalar) -> Bitmap

Source§

fn tot_ne_kernel_broadcast(&self, _other: &Self::Scalar) -> Bitmap

Source§

impl<O: Offset> TotalEqKernel for BinaryArray<O>

Source§

type Scalar = [u8]

Source§

fn tot_eq_kernel(&self, other: &Self) -> Bitmap

Source§

fn tot_ne_kernel(&self, other: &Self) -> Bitmap

Source§

fn tot_eq_kernel_broadcast(&self, other: &Self::Scalar) -> Bitmap

Source§

fn tot_ne_kernel_broadcast(&self, other: &Self::Scalar) -> Bitmap

Source§

impl<O: Offset> TotalEqKernel for ListArray<O>

Source§

type Scalar = Box<dyn Array>

Source§

fn tot_eq_kernel(&self, other: &Self) -> Bitmap

Source§

fn tot_ne_kernel(&self, other: &Self) -> Bitmap

Source§

fn tot_eq_kernel_broadcast(&self, other: &Self::Scalar) -> Bitmap

Source§

fn tot_ne_kernel_broadcast(&self, other: &Self::Scalar) -> Bitmap

Source§

impl<O: Offset> TotalEqKernel for Utf8Array<O>

Source§

type Scalar = str

Source§

fn tot_eq_kernel(&self, other: &Self) -> Bitmap

Source§

fn tot_ne_kernel(&self, other: &Self) -> Bitmap

Source§

fn tot_eq_kernel_broadcast(&self, other: &Self::Scalar) -> Bitmap

Source§

fn tot_ne_kernel_broadcast(&self, other: &Self::Scalar) -> Bitmap

Source§

impl<T: NotSimdPrimitive + TotalOrd> TotalEqKernel for PrimitiveArray<T>

Source§

type Scalar = T

Source§

fn tot_eq_kernel(&self, other: &Self) -> Bitmap

Source§

fn tot_ne_kernel(&self, other: &Self) -> Bitmap

Source§

fn tot_eq_kernel_broadcast(&self, other: &Self::Scalar) -> Bitmap

Source§

fn tot_ne_kernel_broadcast(&self, other: &Self::Scalar) -> Bitmap

Implementors§