#include <visit_each_entry_in_map.h>
Inherits ccf::indexing::Strategy.
Inherited by ccf::indexing::strategies::SeqnosByKey_Bucketed_Untyped, and ccf::indexing::strategies::SeqnosByKey_InMemory_Untyped.
◆ VisitEachEntryInMap()
ccf::indexing::strategies::VisitEachEntryInMap::VisitEachEntryInMap |
( |
const std::string & |
map_name_, |
|
|
const std::string & |
strategy_prefix = "VisitEachEntryIn" |
|
) |
| |
◆ ~VisitEachEntryInMap()
virtual ccf::indexing::strategies::VisitEachEntryInMap::~VisitEachEntryInMap |
( |
| ) |
|
|
virtualdefault |
◆ describe()
nlohmann::json ccf::indexing::strategies::VisitEachEntryInMap::describe |
( |
| ) |
|
|
overridevirtual |
◆ get_indexed_watermark()
ccf::TxID ccf::indexing::strategies::VisitEachEntryInMap::get_indexed_watermark |
( |
| ) |
|
◆ handle_committed_transaction()
Receives every committed transaction, in-order, shortly after commit.
The given store contains only the changes that occured in the current transaction.
Implements ccf::indexing::Strategy.
◆ next_requested()
std::optional< ccf::SeqNo > ccf::indexing::strategies::VisitEachEntryInMap::next_requested |
( |
| ) |
|
|
overridevirtual |
Returns next tx for which this index should be populated, or nullopt if it wants none. Allows indexes to be populated lazily on-demand, or out-of-order, or reset
Implements ccf::indexing::Strategy.
◆ visit_entry()
◆ current_txid
ccf::TxID ccf::indexing::strategies::VisitEachEntryInMap::current_txid = {} |
|
protected |
◆ current_txid_lock
ccf::pal::Mutex ccf::indexing::strategies::VisitEachEntryInMap::current_txid_lock |
|
protected |
◆ map_name
std::string ccf::indexing::strategies::VisitEachEntryInMap::map_name |
|
protected |
The documentation for this class was generated from the following files: