|
xapian-core
1.4.30
|
#include <chert_table.h>
Inheritance diagram for Item_wr:
Collaboration diagram for Item_wr: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.
References C2, I2, K1, set_component_of(), set_components_of(), set_key_len(), and set_size().
Referenced by ChertTable::read_root().
|
inline |
Definition at line 291 of file chert_table.h.
References C2, CHERT_BTREE_MAX_KEY_LEN, I2, K1, Item_base< uint8_t * >::p, set_component_of(), set_key_len(), 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, Item_base< uint8_t * >::p, set_key_len(), set_size(), 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, Item_base< uint8_t * >::p, setint4(), and Item_base< uint8_t * >::size().
Referenced by ChertTable::alter().
|
inline |
Definition at line 243 of file chert_table.h.
References C2, getK(), I2, Item_base< uint8_t * >::p, and setint2().
Referenced by fake_root_item(), and form_key().
|
inline |
Definition at line 246 of file chert_table.h.
References getK(), I2, Item_base< uint8_t * >::p, and setint2().
Referenced by fake_root_item().
Definition at line 250 of file chert_table.h.
References AssertRel, BYTES_PER_BLOCK_NUMBER, C2, Key::get_address(), I2, K1, Key::length(), Item_base< uint8_t * >::p, setint1(), setint2(), and setint4().
Referenced by ChertTable::enter_key().
|
inlineprivate |
Definition at line 238 of file chert_table.h.
References I2, Item_base< uint8_t * >::p, and setint1().
Referenced by fake_root_item(), form_key(), and form_null_key().
|
inline |
Definition at line 276 of file chert_table.h.
References AssertRel, CHERT_MAX_ITEM_SIZE, Item_base< uint8_t * >::p, rare, and setint2().
Referenced by fake_root_item(), form_null_key(), and set_tag().
|
inline |
Definition at line 309 of file chert_table.h.
References Item_base< uint8_t * >::p, and set_size().