#include <RBTreeDBCacheInsertThenDestroySimple.hpp>
Inheritance diagram for Bodon::RBTreeDBCacheInsertThenDestroySimple< T_R, BIS >:
Public Types | |
typedef RBTreeDBCacheInsertThenDestroyBase< T_R, BIS >::params_t | params_t |
Public Member Functions | |
RBTreeDBCacheInsertThenDestroySimple (const params_t *par) | |
void | rewind () |
counter_t | nextTransactionBIS_modifyPrevious (BIS &transaction, std::vector< unsigned int > &filter) |
void | setCandidateSize (const size_t candidate_size) |
void | insert (const BIS &transaction, const counter_t multiplicity) |
counter_t | nextTransactionBIS (BIS &transaction) |
template<class UAC> | |
counter_t | nextTransactionUAC (UAC &transaction) |
Protected Attributes | |
std::map< BIS, counter_t > | temp_rb_tree |
item_t | candidate_size |
std::map< BIS, counter_t > | rb_tree |
std::map< BIS, counter_t >::iterator | it |
When inserting the modified transactions into the database cacher, we simply go through the tree that stores the modified transactions and insert each of them into the cacher by using a look-up. This is not a fast solution, because we do not make use of the fact that both trees are actually sorted associative containers.
Definition at line 27 of file RBTreeDBCacheInsertThenDestroySimple.hpp.
|
Reimplemented from Bodon::RBTreeDBCacheInsertThenDestroyBase< T_R, BIS >. Definition at line 32 of file RBTreeDBCacheInsertThenDestroySimple.hpp. |
|
Definition at line 34 of file RBTreeDBCacheInsertThenDestroySimple.hpp. |
|
Definition at line 19 of file RBTreeDBCache.hpp. References Bodon::RBTreeDBCache< T_R, BIS >::rb_tree. |
|
Definition at line 53 of file RBTreeDBCache.hpp. References Bodon::RBTreeDBCache< T_R, BIS >::it, and Bodon::RBTreeDBCache< T_R, BIS >::rb_tree. |
|
|
Definition at line 65 of file RBTreeDBCache.hpp. References Bodon::RBTreeDBCache< T_R, BIS >::it, and Bodon::RBTreeDBCache< T_R, BIS >::rb_tree. |
|
Reimplemented from Bodon::RBTreeDBCacheInsertThenDestroyBase< T_R, BIS >. Definition at line 37 of file RBTreeDBCacheInsertThenDestroySimple.hpp. References Bodon::RBTreeDBCache< T_R, BIS >::rb_tree, and Bodon::RBTreeDBCacheInsertThenDestroyBase< T_R, BIS >::temp_rb_tree. |
|
Definition at line 28 of file RBTreeDBCacheInsertThenDestroyBase.hpp. |
|
Definition at line 34 of file RBTreeDBCacheInsertThenDestroyBase.hpp. Referenced by Bodon::RBTreeDBCacheInsertThenDestroyBase< T_R, BIS >::nextTransactionBIS_modifyPrevious(). |
|
|
|