ddc
|
#include "../CommonLib/bserialize.h"
#include "../CommonLib/ddcThread.h"
#include "../CommonLib/ddcMMap.h"
Go to the source code of this file.
Classes | |
class | CIndexItem |
class | CIndexSetForQueryingStage |
Typedefs | |
typedef ddcMapFile< DWORD, DWORD > | PeriodsDivisionMapT |
a type for mappping an index item no to its period division More... | |
typedef PeriodsDivisionMapT::MapT | PeriodsDivisionMapR |
low-level resident std::map<> implementation in PeriodsDivisionMap::m_map More... | |
typedef PeriodsDivisionMapT::RecFileT | PeriodsDivisionMapV |
low-level virtual mmap()-based implementation in PeriodsDivisionMap::m_rfile More... | |
typedef ddcVecFile< DWORD > | CSuffixIndex |
Functions | |
size_t | get_size_in_bytes (const CIndexItem &t) |
size_t | save_to_bytes (const CIndexItem &i, BYTE *buf) |
size_t | restore_from_bytes (CIndexItem &i, const BYTE *buf) |
Variables | |
const DWORD | TheOnlyOccurIsInEndOccurNo = 1 << 31 |
const DWORD | AllFlags = TheOnlyOccurIsInEndOccurNo |
typedef ddcMapFile<DWORD, DWORD> PeriodsDivisionMapT |
a type for mappping an index item no to its period division
low-level resident std::map<> implementation in PeriodsDivisionMap::m_map
low-level virtual mmap()-based implementation in PeriodsDivisionMap::m_rfile
typedef ddcVecFile<DWORD> CSuffixIndex |
CSuffixIndex is a vector of Item-IDs sorted in ascending order by reverse string-value, for fast binary search of string-suffixes.
|
inline |
Referenced by restore_from_bytes(), and save_to_bytes().
|
inline |
References get_size_in_bytes(), CIndexItem::GetEndOccurOffset(), and CIndexItem::GetIndexItemOffsetAndFlags().
|
inline |
References get_size_in_bytes(), CIndexItem::SetEndOccurOffset(), and CIndexItem::SetIndexItemOffsetAndFlags().
const DWORD TheOnlyOccurIsInEndOccurNo = 1 << 31 |
Referenced by CIndexSetForQueryingStage::AddOneIndexItem(), and CIndexItem::HasOneOccurrence().