[][src]Trait arrow::array::ArrayEqual

pub trait ArrayEqual {
    fn equals(&self, other: &dyn Array) -> bool;
fn range_equals(
        &self,
        other: &dyn Array,
        start_idx: usize,
        end_idx: usize,
        other_start_idx: usize
    ) -> bool; }

Trait for Array equality.

Required methods

fn equals(&self, other: &dyn Array) -> bool

Returns true if this array is equal to the other array

fn range_equals(
    &self,
    other: &dyn Array,
    start_idx: usize,
    end_idx: usize,
    other_start_idx: usize
) -> bool

Returns true if the range [start_idx, end_idx) is equal to [other_start_idx, other_start_idx + end_idx - start_idx) in the other array

Loading content...

Implementors

impl ArrayEqual for FixedSizeBinaryArray[src]

impl ArrayEqual for FixedSizeListArray[src]

impl ArrayEqual for NullArray[src]

impl ArrayEqual for StructArray[src]

impl ArrayEqual for UnionArray[src]

impl ArrayEqual for BooleanArray[src]

impl<OffsetSize: OffsetSizeTrait> ArrayEqual for GenericBinaryArray<OffsetSize>[src]

impl<OffsetSize: OffsetSizeTrait> ArrayEqual for GenericListArray<OffsetSize>[src]

impl<OffsetSize: StringOffsetSizeTrait> ArrayEqual for GenericStringArray<OffsetSize>[src]

impl<T: ArrowPrimitiveType> ArrayEqual for DictionaryArray<T>[src]

impl<T: ArrowPrimitiveType> ArrayEqual for PrimitiveArray<T>[src]

Loading content...