8a89f6601d
Implemented untested UniqueOrderedIndex. Introduced TypeGroupEdge/Vertex into database. Added Index capabilityes to PropertyFamily. Added method for adding index. Added method for removing index.
24 lines
511 B
C++
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;
|
|
};
|