pub struct HashTable<T: DeviceCopy + KeyAttribute> { /* private fields */ }
Expand description
Hash table for CpuHashJoin
and CudaHashJoin
.
Implementations
sourceimpl<T: AsPrimitive<c_uint> + DeviceCopy + KeyAttribute> HashTable<T>
impl<T: AsPrimitive<c_uint> + DeviceCopy + KeyAttribute> HashTable<T>
sourcepub fn new_on_cpu(mem: DerefMem<HtEntry<T, T>>, size: usize) -> Result<Self>
pub fn new_on_cpu(mem: DerefMem<HtEntry<T, T>>, size: usize) -> Result<Self>
Create a new CPU hash table.
The hash table can be used on CPUs. In the case of NVLink 2.0 on POWER9, it can also be used on GPUs.
Trait Implementations
sourceimpl<T: Debug + DeviceCopy + KeyAttribute> Debug for HashTable<T>
impl<T: Debug + DeviceCopy + KeyAttribute> Debug for HashTable<T>
sourceimpl<T> Display for HashTable<T> where
T: DeviceCopy + Display + KeyAttribute,
impl<T> Display for HashTable<T> where
T: DeviceCopy + Display + KeyAttribute,
sourceimpl<T: DeviceCopy + KeyAttribute> MemLock for HashTable<T>
impl<T: DeviceCopy + KeyAttribute> MemLock for HashTable<T>
sourcefn mlock(&mut self) -> NumaGpuResult<()>
fn mlock(&mut self) -> NumaGpuResult<()>
Lock memory
sourcefn munlock(&mut self) -> NumaGpuResult<()>
fn munlock(&mut self) -> NumaGpuResult<()>
Unlock memory
Auto Trait Implementations
impl<T> RefUnwindSafe for HashTable<T> where
T: RefUnwindSafe,
impl<T> Send for HashTable<T> where
T: Send,
impl<T> Sync for HashTable<T> where
T: Sync,
impl<T> Unpin for HashTable<T> where
T: Unpin,
impl<T> UnwindSafe for HashTable<T> where
T: UnwindSafe + RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more