Helper class for updating index tables. More...
#include <IndexUpdater.h>

Public Member Functions | |
| IndexUpdater (SchemaPtr &primary_schema, TablePtr index_table, TablePtr qualifier_index_table) | |
| Constructor. More... | |
| ~IndexUpdater () | |
| Destructor. More... | |
| void | purge (const Key &key, const ByteString &value) |
| Purges a key from index tables. More... | |
| void | add (const Key &key, const ByteString &value) |
| Adds a key to index tables. More... | |
Private Attributes | |
| TableMutatorAsync * | m_index_mutator |
| Mutator for value index table. More... | |
| TableMutatorAsync * | m_qualifier_index_mutator |
| Mutator for qualifier index table. More... | |
| ResultCallback * | m_cb |
| Async mutator callback object. More... | |
| bool | m_index_map [256] |
| bool | m_qualifier_index_map [256] |
Friends | |
| class | IndexUpdaterFactory |
Helper class for updating index tables.
Definition at line 47 of file IndexUpdater.h.
| Hypertable::IndexUpdater::IndexUpdater | ( | SchemaPtr & | primary_schema, |
| TablePtr | index_table, | ||
| TablePtr | qualifier_index_table | ||
| ) |
Constructor.
Objects are created by IndexUpdaterFactory
Definition at line 56 of file IndexUpdater.cc.
|
inline |
Destructor.
Definition at line 58 of file IndexUpdater.h.
| void Hypertable::IndexUpdater::add | ( | const Key & | key, |
| const ByteString & | value | ||
| ) |
Adds a key to index tables.
Definition at line 105 of file IndexUpdater.cc.
| void Hypertable::IndexUpdater::purge | ( | const Key & | key, |
| const ByteString & | value | ||
| ) |
Purges a key from index tables.
Definition at line 77 of file IndexUpdater.cc.
|
friend |
Definition at line 48 of file IndexUpdater.h.
|
private |
Async mutator callback object.
Definition at line 81 of file IndexUpdater.h.
|
private |
Definition at line 82 of file IndexUpdater.h.
|
private |
Mutator for value index table.
Definition at line 75 of file IndexUpdater.h.
|
private |
Definition at line 83 of file IndexUpdater.h.
|
private |
Mutator for qualifier index table.
Definition at line 78 of file IndexUpdater.h.
1.8.8