|
Advanced Chunk Processing Library 0.2.0
A comprehensive C++ library for advanced data chunking strategies and processing operations
|
#include <advanced_structures.hpp>
Collaboration diagram for advanced_structures::ChunkLSMTree< T >:Classes | |
| struct | Level |
Public Member Functions | |
| ChunkLSMTree (size_t memtable_limit=1024, size_t ratio=4) | |
| void | force_flush () |
| void | insert (const T &value) |
| bool | search (const T &value) const |
Private Member Functions | |
| void | compact_level (size_t level_idx) |
| void | flush_memtable () |
Private Attributes | |
| std::vector< std::shared_ptr< Level > > | levels |
| std::vector< T > | memtable |
| size_t | memtable_size_limit |
| size_t | size_ratio |
Definition at line 664 of file advanced_structures.hpp.
|
inline |
Definition at line 732 of file advanced_structures.hpp.
|
inlineprivate |
Definition at line 682 of file advanced_structures.hpp.
References advanced_structures::ChunkLSMTree< T >::compact_level(), advanced_structures::ChunkLSMTree< T >::levels, and advanced_structures::ChunkLSMTree< T >::size_ratio.
Referenced by advanced_structures::ChunkLSMTree< T >::compact_level(), and advanced_structures::ChunkLSMTree< T >::flush_memtable().
|
inlineprivate |
Definition at line 706 of file advanced_structures.hpp.
References advanced_structures::ChunkLSMTree< T >::compact_level(), advanced_structures::ChunkLSMTree< T >::levels, advanced_structures::ChunkLSMTree< T >::memtable, advanced_structures::ChunkLSMTree< T >::memtable_size_limit, and advanced_structures::ChunkLSMTree< T >::size_ratio.
Referenced by advanced_structures::ChunkLSMTree< T >::force_flush(), and advanced_structures::ChunkLSMTree< T >::insert().
|
inline |
Definition at line 758 of file advanced_structures.hpp.
References advanced_structures::ChunkLSMTree< T >::flush_memtable().
|
inline |
Definition at line 735 of file advanced_structures.hpp.
References advanced_structures::ChunkLSMTree< T >::flush_memtable(), advanced_structures::ChunkLSMTree< T >::memtable, and advanced_structures::ChunkLSMTree< T >::memtable_size_limit.
|
inline |
Definition at line 743 of file advanced_structures.hpp.
References advanced_structures::ChunkLSMTree< T >::levels, and advanced_structures::ChunkLSMTree< T >::memtable.
|
private |
Definition at line 677 of file advanced_structures.hpp.
Referenced by advanced_structures::ChunkLSMTree< T >::compact_level(), advanced_structures::ChunkLSMTree< T >::flush_memtable(), and advanced_structures::ChunkLSMTree< T >::search().
|
private |
Definition at line 678 of file advanced_structures.hpp.
Referenced by advanced_structures::ChunkLSMTree< T >::flush_memtable(), advanced_structures::ChunkLSMTree< T >::insert(), and advanced_structures::ChunkLSMTree< T >::search().
|
private |
Definition at line 679 of file advanced_structures.hpp.
Referenced by advanced_structures::ChunkLSMTree< T >::flush_memtable(), and advanced_structures::ChunkLSMTree< T >::insert().
|
private |
Definition at line 680 of file advanced_structures.hpp.
Referenced by advanced_structures::ChunkLSMTree< T >::compact_level(), and advanced_structures::ChunkLSMTree< T >::flush_memtable().