Baloo

databasesize.h
1 /*
2  This file is part of the KDE Baloo project.
3  SPDX-FileCopyrightText: 2015 Vishesh Handa <[email protected]>
4 
5  SPDX-License-Identifier: LGPL-2.1-or-later
6 */
7 
8 #ifndef BALOO_DATABASE_SIZE_H
9 #define BALOO_DATABASE_SIZE_H
10 
11 #include <lmdb.h>
12 
13 namespace Baloo {
14 
15 class DatabaseSize {
16 public:
17  /**
18  * This is the size which is computed with all the pages used from all the
19  * individual database pages
20  */
21  size_t expectedSize;
22 
23  /**
24  * This is the size based on the MDB_env and the total number of pages used
25  */
26  size_t actualSize;
27 
28  size_t postingDb;
29  size_t positionDb;
30 
31  size_t docTerms;
32  size_t docFilenameTerms;
33  size_t docXattrTerms;
34 
35  size_t idTree;
36  size_t idFilename;
37 
38  size_t docTime;
39  size_t docData;
40 
41  size_t contentIndexingIds;
42  size_t failedIds;
43 
44  size_t mtimeDb;
45 };
46 
47 }
48 #endif
Implements storage for docIds without any associated data Instantiated for:
Definition: coding.cpp:11
QAction * actualSize(const QObject *recvr, const char *slot, QObject *parent)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Nov 29 2023 03:56:26 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.