memgraph/include/storage/edge.hpp
Kruno Tomola Fabro 8a89f6601d EdgeType indexes added.
Implemented untested UniqueOrderedIndex.

Introduced TypeGroupEdge/Vertex into database.

Added Index capabilityes to PropertyFamily.
Added method for adding index.
Added method for removing index.
2016-08-25 15:29:45 +01:00

24 lines
511 B
C++

#pragma once
#include "mvcc/record.hpp"
#include "storage/model/edge_model.hpp"
// #include "storage/model/properties/traversers/jsonwriter.hpp"
class Edge : public mvcc::Record<Edge>
{
public:
class Accessor;
Edge() = default;
Edge(const EdgeModel &data) : data(data) {}
Edge(EdgeModel &&data) : data(std::move(data)) {}
Edge(const Edge &) = delete;
Edge(Edge &&) = delete;
Edge &operator=(const Edge &) = delete;
Edge &operator=(Edge &&) = delete;
EdgeModel data;
};