xapian-core
1.4.27
|
Check consistency of a chert table. More...
#include <config.h>
#include "chert_dbcheck.h"
#include "bitstream.h"
#include "internaltypes.h"
#include "chert_check.h"
#include "chert_cursor.h"
#include "chert_table.h"
#include "chert_types.h"
#include "pack.h"
#include "backends/valuestats.h"
#include <xapian.h>
#include "autoptr.h"
#include <ostream>
#include <vector>
Go to the source code of this file.
Classes | |
struct | VStats |
Functions | |
static bool | is_user_metadata_key (const string &key) |
size_t | check_chert_table (const char *tablename, const string &dir, chert_revision_number_t *rev_ptr, int opts, vector< Xapian::termcount > &doclens, Xapian::doccount doccount, Xapian::docid db_last_docid, ostream *out) |
Check consistency of a chert table.
Definition in file chert_dbcheck.cc.
size_t check_chert_table | ( | const char * | tablename, |
const string & | dir, | ||
chert_revision_number_t * | rev_ptr, | ||
int | opts, | ||
vector< Xapian::termcount > & | doclens, | ||
Xapian::doccount | doccount, | ||
Xapian::docid | db_last_docid, | ||
ostream * | out | ||
) |
Definition at line 59 of file chert_dbcheck.cc.
References AssertEq, C_unpack_uint_preserving_sort(), ChertTableCheck::check(), ChertTable::cursor_get(), Xapian::BitReader::decode(), ValueStats::freq, VStats::freq_real, Xapian::Error::get_description(), ChertTable::get_entry_count(), is_user_metadata_key(), ValueStats::lower_bound, ChertTable::open(), unpack_bool(), unpack_string(), unpack_string_preserving_sort(), unpack_uint(), unpack_uint_last(), and ValueStats::upper_bound.
Referenced by check_db_dir(), and check_db_table().
|
inlinestatic |
Definition at line 47 of file chert_dbcheck.cc.
Referenced by check_chert_table().