polars_compute::comparisons

Trait TotalOrdKernel

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

    // Required methods
    fn tot_lt_kernel(&self, other: &Self) -> Bitmap;
    fn tot_le_kernel(&self, other: &Self) -> Bitmap;
    fn tot_lt_kernel_broadcast(&self, other: &Self::Scalar) -> Bitmap;
    fn tot_le_kernel_broadcast(&self, other: &Self::Scalar) -> Bitmap;
    fn tot_gt_kernel_broadcast(&self, other: &Self::Scalar) -> Bitmap;
    fn tot_ge_kernel_broadcast(&self, other: &Self::Scalar) -> Bitmap;

    // Provided methods
    fn tot_gt_kernel(&self, other: &Self) -> Bitmap { ... }
    fn tot_ge_kernel(&self, other: &Self) -> Bitmap { ... }
}

Required Associated Types§

Required Methods§

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Provided Methods§

Source

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

Source

fn tot_ge_kernel(&self, other: &Self) -> 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 TotalOrdKernel for BooleanArray

Source§

type Scalar = bool

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl TotalOrdKernel for NullArray

Source§

type Scalar = Box<dyn Array>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl TotalOrdKernel for BinaryViewArray

Source§

type Scalar = [u8]

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl TotalOrdKernel for Utf8ViewArray

Source§

type Scalar = str

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Scalar = [u8]

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Scalar = str

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

type Scalar = T

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Implementors§