xapian-core
1.4.26
|
Check a glass table. More...
#include "xapian/types.h"
#include <sys/types.h>
#include <iosfwd>
#include <string>
#include <vector>
Go to the source code of this file.
Functions | |
size_t | check_glass_table (const char *tablename, const std::string &db_dir, int fd, off_t offset_, const GlassVersion &version_file, int opts, std::vector< Xapian::termcount > &doclens, std::ostream *out) |
size_t | check_glass_table (const char *tablename, const std::string &db_dir, const GlassVersion &version_file, int opts, std::vector< Xapian::termcount > &doclens, std::ostream *out) |
size_t | check_glass_table (const char *tablename, int fd, off_t offset_, const GlassVersion &version_file, int opts, std::vector< Xapian::termcount > &doclens, std::ostream *out) |
Check a glass table.
Definition in file glass_dbcheck.h.
size_t check_glass_table | ( | const char * | tablename, |
const std::string & | db_dir, | ||
int | fd, | ||
off_t | offset_, | ||
const GlassVersion & | version_file, | ||
int | opts, | ||
std::vector< Xapian::termcount > & | doclens, | ||
std::ostream * | out | ||
) |
Definition at line 61 of file glass_dbcheck.cc.
References AssertEq, GlassTableCheck::check(), Xapian::BitReader::decode(), file_exists(), ValueStats::freq, VStats::freq_real, GlassVersion::get_doccount(), GlassVersion::get_doclength_lower_bound(), GlassVersion::get_doclength_upper_bound(), GlassVersion::get_last_docid(), GLASS_TABLE_EXTENSION, is_user_metadata_key(), ValueStats::lower_bound, unpack_bool(), unpack_string(), unpack_string_preserving_sort(), unpack_uint(), unpack_uint_last(), unpack_uint_preserving_sort(), and ValueStats::upper_bound.
Referenced by check_db_dir(), check_db_fd(), check_db_table(), and check_glass_table().
|
inline |
Definition at line 41 of file glass_dbcheck.h.
References check_glass_table().
|
inline |
Definition at line 51 of file glass_dbcheck.h.
References check_glass_table().