20#ifndef ORES_DQ_REPOSITORY_CATALOG_MAPPER_HPP
21#define ORES_DQ_REPOSITORY_CATALOG_MAPPER_HPP
23#include "ores.dq/domain/catalog.hpp"
24#include "ores.dq/repository/catalog_entity.hpp"
25#include "ores.logging/make_logger.hpp"
27namespace ores::dq::repository {
34 inline static std::string_view logger_name =
35 "ores.dq.repository.catalog_mapper";
37 [[nodiscard]]
static auto& lg() {
39 static auto instance = make_logger(logger_name);
46 static std::vector<domain::catalog>
47 map(
const std::vector<catalog_entity>& v);
48 static std::vector<catalog_entity>
49 map(
const std::vector<domain::catalog>& v);
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
Represents a logical grouping of related datasets.
Definition catalog.hpp:39
Represents a catalog in the database.
Definition catalog_entity.hpp:33
Maps catalog domain entities to data storage layer and vice-versa.
Definition catalog_mapper.hpp:32