memgraph/include/storage/model/edge_model.hpp
2016-08-10 09:39:02 +01:00

18 lines
423 B
C++

#pragma once
#include "mvcc/version_list.hpp"
#include "storage/model/property_model.hpp"
#include "storage/edge_type/edge_type.hpp"
class EdgeModel : public PropertyModel
{
public:
VertexRecord *from;
VertexRecord *to;
// TODO: here should be the reference
// but something that is copyable
// because this model is copied all the time (mvcc)
const EdgeType *edge_type {nullptr};
};