3#include <userver/components/component_context.hpp>
4#include <userver/dump/config.hpp>
5#include <userver/dump/operations.hpp>
6#include <userver/tracing/scope_time.hpp>
15 virtual ~OperationsFactory() =
default;
17 virtual std::unique_ptr<Reader> CreateReader(std::string full_path) = 0;
19 virtual std::unique_ptr<Writer> CreateWriter(std::string full_path, tracing::ScopeTime& scope) = 0;
22std::unique_ptr<dump::OperationsFactory>
23CreateOperationsFactory(
const Config& config,
const components::ComponentContext& context);
25std::unique_ptr<dump::OperationsFactory> CreateDefaultOperationsFactory(
const Config& config);