20#ifndef ORES_DQ_REPOSITORY_DATA_DOMAIN_MAPPER_HPP
21#define ORES_DQ_REPOSITORY_DATA_DOMAIN_MAPPER_HPP
23#include "ores.dq/domain/data_domain.hpp"
24#include "ores.dq/repository/data_domain_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.data_domain_mapper";
37 [[nodiscard]]
static auto& lg() {
39 static auto instance = make_logger(logger_name);
46 static std::vector<domain::data_domain>
47 map(
const std::vector<data_domain_entity>& v);
48 static std::vector<data_domain_entity>
49 map(
const std::vector<domain::data_domain>& v);
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
Represents a high-level classification of data within the system.
Definition data_domain.hpp:40
Represents a data_domain in the database.
Definition data_domain_entity.hpp:32
Maps data_domain domain entities to data storage layer and vice-versa.
Definition data_domain_mapper.hpp:32