AllianceDB  0.0.1
AllianceDB is an open-source suite, including benchmarks and libs for evaluating and improving stream operation algorithms on modern hardwares.

The multithread-supported bucket. More...

#include <Common/MultiThreadHashTable.h>

Public Member Functions

void lock ()
 lock this bucket
 
void unlock ()
 unlock this bucket
 
void duplicatedInsert (TuplePtr tp)
 Insert a tuple, allowing key duplication. More...
 
size_t probeTuple (TuplePtr tp)
 probe one tuple, just on the bucket
 

Detailed Description

The multithread-supported bucket.

Note
In C++, package the attributes of MtBucket in functions is faster than directly address them, maybe this is a more cache-aware way

Member Function Documentation

◆ duplicatedInsert()

void INTELLI::MtBucket::duplicatedInsert ( TuplePtr  tp)

Insert a tuple, allowing key duplication.

Parameters
tpThe tuple

The documentation for this class was generated from the following file: