Baloo::PostingIterator

Search for usage in LXR

Baloo::PostingIterator Class Referenceabstract

#include <postingiterator.h>

Inherited by Baloo::AndPostingIterator, Baloo::OrPostingIterator, Baloo::PhraseAndIterator, Baloo::VectorPositionInfoIterator, Baloo::VectorPostingIterator, DBPostingIterator, and IdTreePostingIterator.

Public Member Functions

virtual quint64 docId () const =0
 
virtual quint64 next ()=0
 
virtual quint64 skipTo (quint64 docId)
 

Detailed Description

A PostingIterator is an abstract base class which can be used to iterate over all the "postings" or "documents" which are particular term appears.

All PostingIterators should iterate over a list of non-decreasing document ids.

Definition at line 21 of file postingiterator.h.

Constructor & Destructor Documentation

◆ ~PostingIterator()

PostingIterator::~PostingIterator ( )
virtual

Definition at line 11 of file postingiterator.cpp.

Member Function Documentation

◆ skipTo()

quint64 PostingIterator::skipTo ( quint64 docId)
virtual

Definition at line 15 of file postingiterator.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:51:50 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.