bd0b81526e
Summary: Tested MVCC garbage collector. Also refactors graph_db forward declarations of vertex and edge which were causing issues. Reviewers: mislav.bradac, dtomicevic, florijan, teon.banek, buda Reviewed By: teon.banek, buda Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D177
20 lines
520 B
C++
20 lines
520 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
|
|
#include "database/graph_db_datatypes.hpp"
|
|
#include "mvcc/record.hpp"
|
|
#include "mvcc/version_list.hpp"
|
|
#include "storage/property_value_store.hpp"
|
|
|
|
// forward declare Edge because there is a circular usage Edge <-> Vertex
|
|
class Edge;
|
|
|
|
class Vertex : public mvcc::Record<Vertex> {
|
|
public:
|
|
std::vector<mvcc::VersionList<Edge> *> out_;
|
|
std::vector<mvcc::VersionList<Edge> *> in_;
|
|
std::vector<GraphDbTypes::Label> labels_;
|
|
PropertyValueStore<GraphDbTypes::Property> properties_;
|
|
};
|