diff --git a/src/engine/CMakeLists.txt b/src/engine/CMakeLists.txt index 232f3e1d2f..cbfb3344c3 100644 --- a/src/engine/CMakeLists.txt +++ b/src/engine/CMakeLists.txt @@ -10,7 +10,7 @@ add_library(engine Union.cpp MultiColumnJoin.cpp TransitivePathBase.cpp TransitivePathHashMap.cpp TransitivePathBinSearch.cpp Service.cpp Values.cpp Bind.cpp Minus.cpp RuntimeInformation.cpp CheckUsePatternTrick.cpp - VariableToColumnMap.cpp ExportQueryExecutionTrees.cpp PayloadVariables.cpp + VariableToColumnMap.cpp ExportQueryExecutionTrees.cpp CartesianProductJoin.cpp TextIndexScanForWord.cpp TextIndexScanForEntity.cpp TextLimit.cpp LazyGroupBy.cpp GroupByHashMapOptimization.cpp SpatialJoin.cpp CountConnectedSubgraphs.cpp SpatialJoinAlgorithms.cpp PathSearch.cpp ExecuteUpdate.cpp) diff --git a/src/engine/SpatialJoin.h b/src/engine/SpatialJoin.h index 0f82efff0c..af76c49a81 100644 --- a/src/engine/SpatialJoin.h +++ b/src/engine/SpatialJoin.h @@ -10,8 +10,8 @@ #include #include "engine/Operation.h" -#include "engine/PayloadVariables.h" #include "global/Id.h" +#include "parser/PayloadVariables.h" #include "parser/data/Variable.h" // A nearest neighbor search with optionally a maximum distance. diff --git a/src/parser/CMakeLists.txt b/src/parser/CMakeLists.txt index 15facff065..cb6da1e6ed 100644 --- a/src/parser/CMakeLists.txt +++ b/src/parser/CMakeLists.txt @@ -20,6 +20,7 @@ add_library(parser MagicServiceQuery.cpp PathQuery.cpp SpatialQuery.cpp + PayloadVariables.cpp PropertyPath.cpp data/SparqlFilter.cpp SelectClause.cpp diff --git a/src/engine/PayloadVariables.cpp b/src/parser/PayloadVariables.cpp similarity index 98% rename from src/engine/PayloadVariables.cpp rename to src/parser/PayloadVariables.cpp index c0c23ba024..a785e23c21 100644 --- a/src/engine/PayloadVariables.cpp +++ b/src/parser/PayloadVariables.cpp @@ -2,7 +2,7 @@ // Chair of Algorithms and Data Structures. // Author: Christoph Ullinger -#include "engine/PayloadVariables.h" +#include "parser/PayloadVariables.h" // ____________________________________________________________________________ PayloadVariables::PayloadVariables(std::vector variables) diff --git a/src/engine/PayloadVariables.h b/src/parser/PayloadVariables.h similarity index 100% rename from src/engine/PayloadVariables.h rename to src/parser/PayloadVariables.h diff --git a/src/parser/SpatialQuery.cpp b/src/parser/SpatialQuery.cpp index a58a78df19..5112db3a20 100644 --- a/src/parser/SpatialQuery.cpp +++ b/src/parser/SpatialQuery.cpp @@ -7,9 +7,9 @@ #include #include -#include "engine/PayloadVariables.h" #include "engine/SpatialJoin.h" #include "parser/MagicServiceIriConstants.h" +#include "parser/PayloadVariables.h" #include "parser/data/Variable.h" namespace parsedQuery { diff --git a/src/parser/SpatialQuery.h b/src/parser/SpatialQuery.h index 09479f4066..f472a53806 100644 --- a/src/parser/SpatialQuery.h +++ b/src/parser/SpatialQuery.h @@ -4,9 +4,9 @@ #pragma once -#include "engine/PayloadVariables.h" #include "parser/GraphPattern.h" #include "parser/MagicServiceQuery.h" +#include "parser/PayloadVariables.h" namespace parsedQuery { diff --git a/test/QueryPlannerTest.cpp b/test/QueryPlannerTest.cpp index 9b94b43ce0..c9a104bdcb 100644 --- a/test/QueryPlannerTest.cpp +++ b/test/QueryPlannerTest.cpp @@ -7,11 +7,11 @@ #include "./printers/PayloadVariablePrinters.h" #include "QueryPlannerTestHelpers.h" -#include "engine/PayloadVariables.h" #include "engine/QueryPlanner.h" #include "engine/SpatialJoin.h" #include "parser/GraphPatternOperation.h" #include "parser/MagicServiceQuery.h" +#include "parser/PayloadVariables.h" #include "parser/SparqlParser.h" #include "parser/SpatialQuery.h" #include "parser/data/Variable.h" diff --git a/test/engine/PayloadVariablesTest.cpp b/test/engine/PayloadVariablesTest.cpp index bce11d44f0..9a0f2c6c31 100644 --- a/test/engine/PayloadVariablesTest.cpp +++ b/test/engine/PayloadVariablesTest.cpp @@ -6,8 +6,8 @@ #include "../printers/PayloadVariablePrinters.h" #include "../util/GTestHelpers.h" -#include "engine/PayloadVariables.h" #include "gmock/gmock.h" +#include "parser/PayloadVariables.h" #include "parser/data/Variable.h" namespace { // anonymous namespace to avoid linker problems diff --git a/test/printers/PayloadVariablePrinters.h b/test/printers/PayloadVariablePrinters.h index b4d32bc96c..efcb9ffb26 100644 --- a/test/printers/PayloadVariablePrinters.h +++ b/test/printers/PayloadVariablePrinters.h @@ -4,7 +4,7 @@ #pragma once #include "./VariablePrinters.h" -#include "engine/PayloadVariables.h" +#include "parser/PayloadVariables.h" // _____________________________________________________________ inline void PrintTo(const PayloadVariables& pv, std::ostream* os) {