Implements the AsapIndexManager class for managing ASAP index files in ASAPCabinetFE. More...
#include "asap_index_manager.h"
#include "log/logging.h"
#include <filesystem>
#include <fstream>
#include <nlohmann/json.hpp>
#include <unordered_map>
Typedefs | |
using | json = nlohmann::json |
Implements the AsapIndexManager class for managing ASAP index files in ASAPCabinetFE.
This file provides the implementation of the AsapIndexManager class, which loads and saves table data from/to an ASAP index file (asapcab_index.json) using JSON serialization. The manager handles file I/O, validates JSON structure, and supports progress tracking via LoadingProgress. It is configurable via Settings (e.g., indexPath), with potential for future configUI enhancements (e.g., custom index paths or formatting).