Akumuli
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions | Public Attributes | List of all members
Akumuli::InvertedIndex Struct Reference

#include <invertedindex.h>

Public Member Functions

 InvertedIndex (const size_t table_size)
 C-tor. Argument table_size should be a power of two.
 
void append (aku_ParamId id, const char *begin, const char *end)
 Add value to index.
 
std::vector< std::pair
< aku_ParamId, size_t > > 
get_count (const char *begin, const char *end)
 

Public Attributes

TwoUnivHashFnFamily table_hash_
 
const size_t table_size_
 Size of the table.
 
std::vector< std::unique_ptr
< Postings > > 
table_
 Hash to postings list mapping.
 

Detailed Description

Inverted index. One dimension of the inv-index is fixed (table size). Only postings can grow.


The documentation for this struct was generated from the following files: