pub struct DeviceComparator { /* private fields */ }Implementations§
Source§impl DeviceComparator
impl DeviceComparator
pub fn new( backend: Arc<DeviceBackend>, schema: &Schema, ) -> Result<Self, GpuError>
pub fn backend_name(&self) -> &'static str
Trait Implementations§
Source§impl Comparator for DeviceComparator
impl Comparator for DeviceComparator
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 DeviceComparator
impl !UnwindSafe for DeviceComparator
impl Freeze for DeviceComparator
impl Send for DeviceComparator
impl Sync for DeviceComparator
impl Unpin for DeviceComparator
impl UnsafeUnpin for DeviceComparator
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> 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