Baloo
Classes | |
class | Command |
class | DatabaseSanitizer |
class | Document |
class | DocumentDB |
class | File |
class | FileIndexerConfig |
class | FileMetaDataProvider |
class | IndexerConfig |
class | MTimeDB |
class | NewFileIndexer |
class | PendingFile |
class | PostingDB |
class | PostingIterator |
class | Query |
class | StorageDevices |
class | TagWidget |
class | UnIndexedFileIterator |
Functions | |
QUrl | canonicalizeTimelineUrl (const QUrl &url) |
quint64 | decodeFixed64 (const char *ptr) |
QStringList | defaultExcludeFilterList () |
int | defaultExcludeFilterListVersion () |
QStringList | defaultExcludeMimetypes () |
int | defaultExcludeMimetypesVersion () |
quint64 | devIdAndInodeToId (quint32 devId, quint32 inode) |
static int | encodeVarint32Internal (char *dst, quint32 v) |
BALOO_ENGINE_EXPORT QString | fileIndexDbPath () |
quint64 | filePathToId (const QByteArray &filePath) |
int | filePathToStat (const QByteArray &filePath, QT_STATBUF &statBuf) |
char * | getDifferentialVarInt32 (char *p, char *limit, QVector< quint32 > *values) |
char * | getVarint32Ptr (char *p, char *limit, quint32 *value) |
const char * | getVarint32Ptr (const char *p, const char *limit, quint32 *v) |
char * | getVarint32PtrFallback (char *p, char *limit, quint32 *value) |
BALOO_ENGINE_EXPORT Database * | globalDatabaseInstance () |
quint32 | idToDeviceId (quint64 id) |
quint32 | idToInode (quint64 id) |
const KFileMetaData::PropertyMultiMap | jsonToPropertyMap (const QJsonObject &properties) |
Term | operator! (const Term &rhs) |
Term | operator&& (const Term &lhs, const Term &rhs) |
QDebug | operator<< (QDebug d, const Baloo::EngineQuery &q) |
QDebug | operator<< (QDebug dbg, const Document &doc) |
QDebug | operator<< (QDebug dbg, const DocumentTimeDB::TimeInfo &time) |
QDebug | operator<< (QDebug dbg, const FileIndexerConfig::FolderCache::value_type &) |
QDebug | operator<< (QDebug dbg, const FileIndexerConfig::FolderConfig &entry) |
QDebug | operator<< (QDebug dbg, const PositionInfo &pos) |
Term | operator|| (const Term &lhs, const Term &rhs) |
TimelineFolderType | parseTimelineUrl (const QUrl &url, QDate *date, QString *filename=nullptr) |
const QJsonObject | propertyMapToJson (const KFileMetaData::PropertyMultiMap &properties) |
void | putDifferentialVarInt32 (QByteArray &temporaryStorage, QByteArray *dst, const QVector< quint32 > &values) |
void | putFixed64 (QByteArray *dst, quint64 value) |
static void | putVarint32Internal (char *dst, quint32 v, int &pos) |
template<typename T , typename V > | |
void | sortedIdInsert (T &vec, const V &id) |
template<typename T , typename V > | |
void | sortedIdRemove (T &vec, const V &id) |
QStringList | sourceCodeMimeTypes () |
quint64 | statBufToId (const QT_STATBUF &stBuf) |
BALOO_ENGINE_EXPORT QString | stateString (IndexerState state) |
BALOO_ENGINE_EXPORT QString | stateString (int state) |
int | statWithFsid (const char *path, QT_STATBUF *statBuf) |
char * | toString (const EngineQuery &query) |
char * | toString (const Term &term) |
Detailed Description
Implements storage for docIds without any associated data Instantiated for:
- content indexing (files to be reindexed)
- failed ids (files no indexable, e.g. due to crashing indexers)
Function Documentation
◆ canonicalizeTimelineUrl()
Remove any double slashes, remove any trailing slashes, and add an initial slash after the scheme.
◆ decodeFixed64()
◆ defaultExcludeFilterList()
QStringList Baloo::defaultExcludeFilterList | ( | ) |
- Returns
- A list of default exclude filters to be used in the filewatch service to ignore temporary files and folders that change a lot and as a basis for the user configurable exclude filters in the strigi service.
◆ defaultExcludeFilterListVersion()
int Baloo::defaultExcludeFilterListVersion | ( | ) |
- Returns
- The version of the default exclude filter list. This is increased whenever the list changes.
◆ devIdAndInodeToId()
|
inline |
◆ encodeVarint32Internal()
|
inlinestatic |
Definition at line 13 of file coding.cpp.
◆ filePathToId()
|
inline |
◆ filePathToStat()
|
inline |
◆ getDifferentialVarInt32()
char * Baloo::getDifferentialVarInt32 | ( | char * | p, |
char * | limit, | ||
QVector< quint32 > * | values ) |
Definition at line 69 of file coding.cpp.
◆ getVarint32Ptr()
|
inline |
◆ getVarint32PtrFallback()
char * Baloo::getVarint32PtrFallback | ( | char * | p, |
char * | limit, | ||
quint32 * | value ) |
Definition at line 92 of file coding.cpp.
◆ globalDatabaseInstance()
Database * Baloo::Baloo::globalDatabaseInstance | ( | ) |
Definition at line 27 of file global.cpp.
◆ idToDeviceId()
◆ idToInode()
◆ jsonToPropertyMap()
const KFileMetaData::PropertyMultiMap Baloo::jsonToPropertyMap | ( | const QJsonObject & | properties | ) |
Definition at line 63 of file propertydata.cpp.
◆ operator!()
◆ operator&&()
◆ operator<<() [1/5]
Definition at line 66 of file enginequery.h.
◆ operator<<() [2/5]
Definition at line 87 of file document.h.
◆ operator<<() [3/5]
Definition at line 58 of file documenttimedb.h.
◆ operator<<() [4/5]
Definition at line 52 of file fileindexerconfig.cpp.
◆ operator<<() [5/5]
Definition at line 35 of file positioninfo.h.
◆ operator||()
◆ parseTimelineUrl()
TimelineFolderType Baloo::parseTimelineUrl | ( | const QUrl & | url, |
QDate * | date, | ||
QString * | filename = nullptr ) |
Parse a timeline URL like timeline:/today and return the type of folder it represents.
If DayFolder is returned date
is set to the date that should be listed. Otherwise it is an invalid date. filename
is optionally set to the name of the file in the folder.
◆ propertyMapToJson()
const QJsonObject Baloo::propertyMapToJson | ( | const KFileMetaData::PropertyMultiMap & | properties | ) |
Definition at line 15 of file propertydata.cpp.
◆ putDifferentialVarInt32()
void Baloo::putDifferentialVarInt32 | ( | QByteArray & | temporaryStorage, |
QByteArray * | dst, | ||
const QVector< quint32 > & | values ) |
Definition at line 53 of file coding.cpp.
◆ putFixed64()
|
inline |
◆ putVarint32Internal()
Definition at line 48 of file coding.cpp.
◆ sortedIdInsert()
◆ sortedIdRemove()
◆ statBufToId()
|
inline |
◆ statWithFsid()
|
inline |
◆ toString() [1/2]
|
inline |
◆ toString() [2/2]
char * Baloo::toString | ( | const Term & | term | ) |
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:20:16 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.