pub trait IsSortedKernel: VTable {
// Required methods
fn is_sorted(&self, array: &Self::Array) -> VortexResult<Option<bool>>;
fn is_strict_sorted(
&self,
array: &Self::Array,
) -> VortexResult<Option<bool>>;
}Required Methods§
Sourcefn is_sorted(&self, array: &Self::Array) -> VortexResult<Option<bool>>
fn is_sorted(&self, array: &Self::Array) -> VortexResult<Option<bool>>
§Preconditions
- The array’s length is > 1.
- The array is not encoded as
NullArrayorConstantArray. - If doing a
strictcheck, if the array is nullable, it’ll have at most 1 null element as the first item in the array.
fn is_strict_sorted(&self, array: &Self::Array) -> VortexResult<Option<bool>>
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§
impl IsSortedKernel for Bool
impl IsSortedKernel for Chunked
impl IsSortedKernel for Decimal
impl IsSortedKernel for Dict
impl IsSortedKernel for Extension
impl IsSortedKernel for FixedSizeList
IsSorted implementation for FixedSizeListArray.