20#ifndef ORES_DQ_REPOSITORY_ORIGIN_DIMENSION_MAPPER_HPP
21#define ORES_DQ_REPOSITORY_ORIGIN_DIMENSION_MAPPER_HPP
23#include "ores.dq/domain/origin_dimension.hpp"
24#include "ores.dq/repository/origin_dimension_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.origin_dimension_mapper";
37 [[nodiscard]]
static auto& lg() {
39 static auto instance = make_logger(logger_name);
46 static std::vector<domain::origin_dimension>
47 map(
const std::vector<origin_dimension_entity>& v);
48 static std::vector<origin_dimension_entity>
49 map(
const std::vector<domain::origin_dimension>& v);
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
Classifies datasets by their origin or source type.
Definition origin_dimension.hpp:39
Represents an origin_dimension in the database.
Definition origin_dimension_entity.hpp:32
Maps origin_dimension domain entities to data storage layer and vice-versa.
Definition origin_dimension_mapper.hpp:32