pub struct CpuFallbackComparator { /* private fields */ }Expand description
CPU-side comparator wrapping zer_compare::FieldComparator.
Implementations§
Source§impl CpuFallbackComparator
impl CpuFallbackComparator
pub fn from_schema(schema: &Schema) -> Self
Trait Implementations§
Source§impl Clone for CpuFallbackComparator
impl Clone for CpuFallbackComparator
Source§fn clone(&self) -> CpuFallbackComparator
fn clone(&self) -> CpuFallbackComparator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Comparator for CpuFallbackComparator
impl Comparator for CpuFallbackComparator
Source§fn compare(&self, a: &Record, b: &Record, schema: &Schema) -> ComparisonVector
fn compare(&self, a: &Record, b: &Record, schema: &Schema) -> ComparisonVector
Compare a single pair, always CPU, returns an individual vector.
Source§fn compare_batch_from_pool(
&self,
pool: &RecordPool,
indices: &[(usize, usize)],
schema: &Schema,
) -> ComparisonBatch
fn compare_batch_from_pool( &self, pool: &RecordPool, indices: &[(usize, usize)], schema: &Schema, ) -> ComparisonBatch
Pool-native batch comparison, the primary hot path. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for CpuFallbackComparator
impl !UnwindSafe for CpuFallbackComparator
impl Freeze for CpuFallbackComparator
impl Send for CpuFallbackComparator
impl Sync for CpuFallbackComparator
impl Unpin for CpuFallbackComparator
impl UnsafeUnpin for CpuFallbackComparator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more