Search for usage in LXR

#include <postingdb.h>

Public Types

enum  Comparator { LessEqual, GreaterEqual }

Public Member Functions

 PostingDB (MDB_dbi, MDB_txn *txn)
PostingIteratorcompIter (const QByteArray &prefix, const QByteArray &val, Comparator com)
PostingIteratorcompIter (const QByteArray &prefix, double val, Comparator com)
PostingIteratorcompIter (const QByteArray &prefix, qlonglong val, Comparator com)
template<typename T >
std::enable_if< std::is_integral< T >::value, PostingIterator * >::type compIter (const QByteArray &prefix, T val, Comparator com)
void del (const QByteArray &term)
QVector< QByteArrayfetchTermsStartingWith (const QByteArray &term)
PostingList get (const QByteArray &term)
PostingIteratoriter (const QByteArray &term)
PostingIteratorprefixIter (const QByteArray &term)
void put (const QByteArray &term, const PostingList &list)
PostingIteratorregexpIter (const QRegularExpression &regexp, const QByteArray &prefix)
QMap< QByteArray, PostingList > toTestMap () const

Static Public Member Functions

static MDB_dbi create (MDB_txn *txn)
static MDB_dbi open (MDB_txn *txn)

Detailed Description

The PostingDB is the main database that maps -> <id1> <id2> <id2> ...

This is used to lookup ids when searching for a .

Definition at line 27 of file postingdb.h.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Nov 28 2023 04:11:57 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.