Skip to content

Commit

Permalink
move payloadvariables to parser
Browse files Browse the repository at this point in the history
  • Loading branch information
ullingerc committed Dec 5, 2024
1 parent 33e3c7b commit 218b109
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/engine/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/engine/SpatialJoin.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
#include <variant>

#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.
Expand Down
1 change: 1 addition & 0 deletions src/parser/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ add_library(parser
MagicServiceQuery.cpp
PathQuery.cpp
SpatialQuery.cpp
PayloadVariables.cpp
PropertyPath.cpp
data/SparqlFilter.cpp
SelectClause.cpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Chair of Algorithms and Data Structures.
// Author: Christoph Ullinger <[email protected]>

#include "engine/PayloadVariables.h"
#include "parser/PayloadVariables.h"

// ____________________________________________________________________________
PayloadVariables::PayloadVariables(std::vector<Variable> variables)
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/parser/SpatialQuery.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
#include <type_traits>
#include <variant>

#include "engine/PayloadVariables.h"
#include "engine/SpatialJoin.h"
#include "parser/MagicServiceIriConstants.h"
#include "parser/PayloadVariables.h"
#include "parser/data/Variable.h"

namespace parsedQuery {
Expand Down
2 changes: 1 addition & 1 deletion src/parser/SpatialQuery.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

#pragma once

#include "engine/PayloadVariables.h"
#include "parser/GraphPattern.h"
#include "parser/MagicServiceQuery.h"
#include "parser/PayloadVariables.h"

namespace parsedQuery {

Expand Down
2 changes: 1 addition & 1 deletion test/QueryPlannerTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion test/engine/PayloadVariablesTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/printers/PayloadVariablePrinters.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 218b109

Please sign in to comment.