MiniOB 1
MiniOB is one mini database, helping developers to learn how database works.
|
A class implementing the tiered compaction strategy. 更多...
#include <ob_compaction_picker.h>
Public 成员函数 | |
TiredCompactionPicker (ObLsmOptions *options) | |
unique_ptr< ObCompaction > | pick (SSTablesPtr sstables) override |
Implementation of the pick method for tiered compaction. 更多... | |
![]() | |
ObCompactionPicker (ObLsmOptions *options) | |
virtual unique_ptr< ObCompaction > | pick (SSTablesPtr sstables)=0 |
Pure virtual method to pick a compaction task. 更多... | |
额外继承的成员函数 | |
![]() | |
static ObCompactionPicker * | create (CompactionType type, ObLsmOptions *options) |
Static factory method to create a specific compaction picker. 更多... | |
![]() | |
ObLsmOptions * | options_ |
Pointer to the LSM-Tree options configuration. | |
A class implementing the tiered compaction strategy.
|
inline |
options | Pointer to the LSM-Tree options configuration. |
|
overridevirtual |
Implementation of the pick method for tiered compaction.