0fcda94162
Summary: Hardcoded query infrastructure - first concrete version - USEFUL FOR: POCs & pilots Test Plan: manual + jenkins Reviewers: sale, florijan Reviewed By: florijan Subscribers: pullbot, buda Differential Revision: https://phabricator.memgraph.io/D45
36 lines
555 B
Plaintext
36 lines
555 B
Plaintext
#include <iostream>
|
|
#include <string>
|
|
|
|
#include "query/util.hpp"
|
|
#include "query/plan_interface.hpp"
|
|
#include "storage/model/properties/all.hpp"
|
|
#include "storage/edge_x_vertex.hpp"
|
|
#include "using.hpp"
|
|
|
|
using std::cout;
|
|
using std::endl;
|
|
|
|
// Query:
|
|
|
|
class CPUPlan : public PlanInterface<Stream>
|
|
{
|
|
public:
|
|
|
|
bool run(Db &db, const PlanArgsT &args, Stream &stream) override
|
|
{
|
|
|
|
}
|
|
|
|
~CPUPlan() {}
|
|
};
|
|
|
|
extern "C" PlanInterface<Stream>* produce()
|
|
{
|
|
return new CPUPlan();
|
|
}
|
|
|
|
extern "C" void destruct(PlanInterface<Stream>* p)
|
|
{
|
|
delete p;
|
|
}
|