|
clang 22.0.0git
|
A collection of on-disk hash tables, merged when relevant for performance. More...
#include "/work/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/Serialization/MultiOnDiskHashTable.h"
Public Types | |
| using | file_type = typename Info::file_type |
| A handle to a file, used when overriding tables. | |
| using | storage_type = const unsigned char * |
| A pointer to an on-disk representation of the hash table. | |
| using | external_key_type = typename Info::external_key_type |
| using | internal_key_type = typename Info::internal_key_type |
| using | data_type = typename Info::data_type |
| using | data_type_builder = typename Info::data_type_builder |
| using | hash_value_type = unsigned |
Public Member Functions | |
| MultiOnDiskHashTable ()=default | |
| MultiOnDiskHashTable (MultiOnDiskHashTable &&O) | |
| MultiOnDiskHashTable & | operator= (MultiOnDiskHashTable &&O) |
| ~MultiOnDiskHashTable () | |
| void | add (file_type File, storage_type Data, Info InfoObj=Info()) |
Add the table Data loaded from file File. | |
| data_type | find (const external_key_type &EKey) |
Find and read the lookup results for EKey. | |
| data_type | findAll () |
| Read all the lookup results into a single value. | |
Friends | |
| template<typename ReaderInfo, typename WriterInfo> | |
| class | MultiOnDiskHashTableGenerator |
| The generator is permitted to read our merged table. | |
A collection of on-disk hash tables, merged when relevant for performance.
Definition at line 40 of file MultiOnDiskHashTable.h.
| using clang::serialization::MultiOnDiskHashTable< Info >::data_type = typename Info::data_type |
Definition at line 50 of file MultiOnDiskHashTable.h.
| using clang::serialization::MultiOnDiskHashTable< Info >::data_type_builder = typename Info::data_type_builder |
Definition at line 51 of file MultiOnDiskHashTable.h.
| using clang::serialization::MultiOnDiskHashTable< Info >::external_key_type = typename Info::external_key_type |
Definition at line 48 of file MultiOnDiskHashTable.h.
| using clang::serialization::MultiOnDiskHashTable< Info >::file_type = typename Info::file_type |
A handle to a file, used when overriding tables.
Definition at line 43 of file MultiOnDiskHashTable.h.
| using clang::serialization::MultiOnDiskHashTable< Info >::hash_value_type = unsigned |
Definition at line 52 of file MultiOnDiskHashTable.h.
| using clang::serialization::MultiOnDiskHashTable< Info >::internal_key_type = typename Info::internal_key_type |
Definition at line 49 of file MultiOnDiskHashTable.h.
| using clang::serialization::MultiOnDiskHashTable< Info >::storage_type = const unsigned char * |
A pointer to an on-disk representation of the hash table.
Definition at line 46 of file MultiOnDiskHashTable.h.
|
default |
|
inline |
Definition at line 176 of file MultiOnDiskHashTable.h.
|
inline |
Definition at line 192 of file MultiOnDiskHashTable.h.
|
inline |
Add the table Data loaded from file File.
Definition at line 195 of file MultiOnDiskHashTable.h.
|
inline |
Find and read the lookup results for EKey.
Definition at line 227 of file MultiOnDiskHashTable.h.
|
inline |
Read all the lookup results into a single value.
This only makes sense if merging values across keys is meaningful.
Definition at line 260 of file MultiOnDiskHashTable.h.
|
inline |
Definition at line 182 of file MultiOnDiskHashTable.h.
|
friend |
The generator is permitted to read our merged table.
Definition at line 57 of file MultiOnDiskHashTable.h.