xapian-core
1.4.27
|
GlassValueManager class. More...
#include <config.h>
#include "glass_values.h"
#include "glass_cursor.h"
#include "glass_postlist.h"
#include "glass_termlist.h"
#include "debuglog.h"
#include "backends/document.h"
#include "pack.h"
#include "xapian/error.h"
#include "xapian/valueiterator.h"
#include <algorithm>
#include "autoptr.h"
Go to the source code of this file.
Classes | |
class | Glass::ValueUpdater |
Namespaces | |
Glass | |
Functions | |
static string | make_slot_key (Xapian::docid did) |
Generate a key for the "used slots" data. More... | |
static string | make_valuestats_key (Xapian::valueno slot) |
Generate a key for a value statistics item. More... | |
Variables | |
static const size_t | CHUNK_SIZE_THRESHOLD = 2000 |
GlassValueManager class.
Definition in file glass_values.cc.
|
inlinestatic |
Generate a key for the "used slots" data.
Definition at line 49 of file glass_values.cc.
References LOGCALL_STATIC, pack_uint_preserving_sort(), and RETURN.
Referenced by GlassValueManager::delete_document(), GlassValueManager::get_all_values(), and GlassValueManager::merge_changes().
|
inlinestatic |
Generate a key for a value statistics item.
Definition at line 63 of file glass_values.cc.
References LOGCALL_STATIC, pack_uint_last(), and RETURN.
Referenced by GlassValueManager::get_value_stats(), and GlassValueManager::set_value_stats().
|
static |
Definition at line 192 of file glass_values.cc.
Referenced by Glass::ValueUpdater::append_to_stream().