8a89f6601d
Implemented untested UniqueOrderedIndex. Introduced TypeGroupEdge/Vertex into database. Added Index capabilityes to PropertyFamily. Added method for adding index. Added method for removing index.
18 lines
452 B
C++
18 lines
452 B
C++
#pragma once
|
|
|
|
// #include "mvcc/version_list.hpp"
|
|
// #include "storage/edge_type/edge_type.hpp"
|
|
#include "storage/model/property_model.hpp"
|
|
#include "storage/type_group_edge.hpp"
|
|
|
|
class EdgeType;
|
|
|
|
class EdgeModel : public PropertyModel<TypeGroupEdge>
|
|
{
|
|
public:
|
|
// 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};
|
|
};
|