ModErn Text Analysis
META Enumerates Textual Applications
Classes | Namespaces | Typedefs | Functions
perfect_hash_map.h File Reference
#include <cstdint>
#include "meta/config.h"
#include "meta/hashing/perfect_hash.h"
#include "meta/hashing/perfect_hash_builder.h"
#include "meta/io/filesystem.h"
#include "meta/io/mmap_file.h"
#include "meta/io/moveable_stream.h"
#include "meta/io/packed.h"
#include "meta/util/optional.h"
#include "meta/util/progress.h"

Go to the source code of this file.

Classes

struct  meta::hashing::detail::hash_record< Value, FingerPrint >
 
struct  meta::hashing::detail::hashed_value< Value, FingerPrint >
 
class  meta::hashing::perfect_hash_map_builder< KeyType, ValueType, FingerPrint >
 Builder class for constructing the on-disk representation for a minimal perfect hashing based hash map. More...
 
struct  meta::hashing::indexed_value< Value >
 Represents an entry in a perfect_hash_map, containing its index into the dense values array and its actual value. More...
 
class  meta::hashing::perfect_hash_map< Key, Value, FingerPrint >
 An immutable minimal perfect hashing based hash_map, read from disk. More...
 

Namespaces

 meta
 The ModErn Text Analysis toolkit is a suite of natural language processing, classification, information retrieval, data mining, and other applications of text processing.
 

Typedefs

template<class HashedValue >
using meta::hashing::detail::hv_chunk_iterator = util::chunk_iterator< HashedValue >
 

Functions

template<class OutputStream , class Value , class FingerPrint >
uint64_t meta::hashing::detail::packed_write (OutputStream &os, const hash_record< Value, FingerPrint > &r)
 
template<class InputStream , class Value , class FingerPrint >
uint64_t meta::hashing::detail::packed_read (InputStream &is, hash_record< Value, FingerPrint > &r)
 
template<class OutputStream , class Value , class FingerPrint >
uint64_t meta::hashing::detail::packed_write (OutputStream &os, const hashed_value< Value, FingerPrint > &hv)
 
template<class InputStream , class Value , class FingerPrint >
uint64_t meta::hashing::detail::packed_read (InputStream &is, hashed_value< Value, FingerPrint > &hv)
 

Detailed Description

Author
Chase Geigle

All files in META are dual-licensed under the MIT and NCSA licenses. For more details, consult the file LICENSE.mit and LICENSE.ncsa in the root of the project.