ResultCallback for secondary indices; used by TableMutatorAsync.
More...
#include <IndexMutatorCallback.h>
|
| IndexMutatorCallback (TableMutatorAsync *primary_mutator, ResultCallback *original_cb, uint64_t max_memory) |
|
virtual | ~IndexMutatorCallback () |
|
void | buffer_key (Key &key, const void *value, uint32_t value_len) |
| buffers a cell in the cellbuffer and the keymap More...
|
|
virtual void | scan_ok (TableScannerAsync *scanner, ScanCellsPtr &scancells) |
| Callback method for successful scan. More...
|
|
virtual void | scan_error (TableScannerAsync *scanner, int error, const std::string &error_msg, bool eos) |
| Callback method for scan errors. More...
|
|
virtual void | update_ok (TableMutatorAsync *mutator) |
| Callback method for successful update. More...
|
|
virtual void | update_error (TableMutatorAsync *mutator, int error, FailedMutations &failures) |
| Callback method for update errors. More...
|
|
void | propagate_failures () |
|
bool | needs_flush () |
|
void | consume_keybuffer (TableMutatorAsync *mutator) |
|
void | clear () |
|
| ResultCallback () |
|
virtual | ~ResultCallback () |
|
virtual void | register_scanner (TableScannerAsync *scanner) |
| Hook for derived classes which want to keep track of scanners/mutators. More...
|
|
virtual void | deregister_scanner (TableScannerAsync *scanner) |
| Hook for derived classes which want to keep track of scanners/mutators. More...
|
|
virtual void | register_mutator (TableMutatorAsync *mutator) |
| Hook for derived classes which want to keep track of scanners/mutators. More...
|
|
virtual void | deregister_mutator (TableMutatorAsync *mutator) |
| Hook for derived classes which want to keep track of scanners/mutators. More...
|
|
virtual void | completed () |
| Callback method for completion, default one does nothing. More...
|
|
void | wait_for_completion () |
| Blocks till outstanding == 0. More...
|
|
void | increment_outstanding () |
|
void | decrement_outstanding () |
|
bool | is_done () |
|
virtual | ~ClientObject () |
| Destructor. More...
|
|
ResultCallback for secondary indices; used by TableMutatorAsync.
Definition at line 46 of file IndexMutatorCallback.h.
virtual Hypertable::IndexMutatorCallback::~IndexMutatorCallback |
( |
| ) |
|
|
inlinevirtual |
void Hypertable::IndexMutatorCallback::buffer_key |
( |
Key & |
key, |
|
|
const void * |
value, |
|
|
uint32_t |
value_len |
|
) |
| |
|
inline |
void Hypertable::IndexMutatorCallback::clear |
( |
| ) |
|
|
inline |
void Hypertable::IndexMutatorCallback::consume_keybuffer |
( |
TableMutatorAsync * |
mutator | ) |
|
|
inline |
bool Hypertable::IndexMutatorCallback::needs_flush |
( |
| ) |
|
|
inline |
void Hypertable::IndexMutatorCallback::propagate_failures |
( |
| ) |
|
|
inline |
virtual void Hypertable::IndexMutatorCallback::scan_error |
( |
TableScannerAsync * |
scanner, |
|
|
int |
error, |
|
|
const std::string & |
error_msg, |
|
|
bool |
eos |
|
) |
| |
|
inlinevirtual |
virtual void Hypertable::IndexMutatorCallback::update_ok |
( |
TableMutatorAsync * |
mutator | ) |
|
|
inlinevirtual |
int Hypertable::IndexMutatorCallback::m_error |
|
private |
std::vector<FailedRow> Hypertable::IndexMutatorCallback::m_failed_rows |
|
private |
KeyMap Hypertable::IndexMutatorCallback::m_keymap |
|
private |
uint64_t Hypertable::IndexMutatorCallback::m_max_memory |
|
private |
std::mutex Hypertable::IndexMutatorCallback::m_mutex |
|
private |
uint64_t Hypertable::IndexMutatorCallback::m_used_memory |
|
private |
The documentation for this class was generated from the following file: