2015-12-13 00:57:07 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "common.hpp"
|
2016-01-17 01:24:35 +08:00
|
|
|
#include "edge_accessor.hpp"
|
2015-12-13 00:57:07 +08:00
|
|
|
|
|
|
|
class Edges
|
|
|
|
{
|
|
|
|
public:
|
2016-01-17 01:24:35 +08:00
|
|
|
Edge::Accessor find(tx::Transaction& t, const Id& id)
|
|
|
|
{
|
|
|
|
throw std::runtime_error("not implemented");
|
|
|
|
}
|
|
|
|
|
|
|
|
Edge::Accessor insert(tx::Transaction& t)
|
|
|
|
{
|
|
|
|
throw std::runtime_error("not implemented");
|
|
|
|
}
|
2015-12-13 00:57:07 +08:00
|
|
|
|
|
|
|
private:
|
|
|
|
SkipList<uint64_t, EdgeRecord> edges;
|
|
|
|
AtomicCounter<uint64_t> counter;
|
|
|
|
};
|