25 lines
475 B
C++
25 lines
475 B
C++
#pragma once
|
|
|
|
#include <ostream>
|
|
#include <mutex>
|
|
#include <set>
|
|
|
|
#include "utils/crtp.hpp"
|
|
|
|
#include "threading/sync/spinlock.hpp"
|
|
|
|
#include "mvcc/mvcc.hpp"
|
|
|
|
#include "properties/properties.hpp"
|
|
|
|
template <class Derived>
|
|
class Record : public Crtp<Derived>, public mvcc::Mvcc<Derived>
|
|
{
|
|
public:
|
|
// a record contains a key value map containing data
|
|
Properties properties;
|
|
|
|
// each record can have one or more distinct labels.
|
|
// std::set<uint16_t> labels;
|
|
};
|