xapian-core
1.4.27
|
#include <chert_table.h>
Public Member Functions | |
Item_wr (uint8_t *p_, int c) | |
Item_wr (uint8_t *p_) | |
void | set_component_of (int i) |
void | set_components_of (int m) |
void | set_key_and_block (Key newkey, int truncate_size, uint4 n) |
void | set_block_given_by (uint4 n) |
Set this item's tag to point to block n (this block should not be at level 0). More... | |
void | set_size (int l) |
void | form_null_key (uint4 n) |
Form an item with a null key and with block number n in the tag. More... | |
void | form_key (const std::string &key_) |
void | set_tag (int cd, const char *start, int len, bool compressed) |
void | fake_root_item () |
Public Member Functions inherited from Item_base< uint8_t *> | |
Item_base (uint8_t * p_, int c) | |
Item_base (uint8_t * p_) | |
uint8_t * | get_address () const |
int | size () const |
I in diagram above. More... | |
bool | get_compressed () const |
int | component_of () const |
int | components_of () const |
Key | key () const |
void | append_chunk (std::string *tag) const |
uint4 | block_given_by () const |
Get this item's tag as a block number (this block should not be at level 0). More... | |
Private Member Functions | |
void | set_key_len (int x) |
Additional Inherited Members | |
Protected Attributes inherited from Item_base< uint8_t *> | |
uint8_t * | p |
Definition at line 237 of file chert_table.h.
|
inline |
Definition at line 241 of file chert_table.h.
|
inlineexplicit |
Definition at line 242 of file chert_table.h.
|
inline |
Definition at line 314 of file chert_table.h.
Referenced by ChertTable::read_root().
|
inline |
Definition at line 291 of file chert_table.h.
References C2, CHERT_BTREE_MAX_KEY_LEN, I2, K1, Key::p, Xapian::Internal::str(), and STRINGIZE.
|
inline |
Form an item with a null key and with block number n in the tag.
Definition at line 286 of file chert_table.h.
References BYTES_PER_BLOCK_NUMBER, I2, K1, Key::p, and setint4().
Referenced by ChertTable::enter_key(), and ChertTable::split_root().
|
inline |
Set this item's tag to point to block n (this block should not be at level 0).
Definition at line 273 of file chert_table.h.
References BYTES_PER_BLOCK_NUMBER, Key::p, and setint4().
Referenced by ChertTable::alter().
|
inline |
|
inline |
Definition at line 250 of file chert_table.h.
References AssertRel, BYTES_PER_BLOCK_NUMBER, C2, Key::get_address(), I2, K1, Key::length(), Key::p, setint1(), setint2(), and setint4().
Referenced by ChertTable::enter_key().
|
inlineprivate |
Definition at line 238 of file chert_table.h.
|
inline |
Definition at line 276 of file chert_table.h.
References AssertRel, CHERT_MAX_ITEM_SIZE, Key::p, rare, and setint2().
|
inline |
Definition at line 309 of file chert_table.h.
References Key::p.