fmt wrapper + proof of concept folder
This commit is contained in:
@@ -9,18 +9,23 @@
|
||||
class Vertices
|
||||
{
|
||||
public:
|
||||
using vertices_t = ConcurrentMap<uint64_t, VertexRecord>;
|
||||
|
||||
vertices_t::Accessor access();
|
||||
|
||||
const Vertex::Accessor find(tx::Transaction &t, const Id &id);
|
||||
|
||||
const Vertex::Accessor first(tx::Transaction &t);
|
||||
|
||||
Vertex::Accessor insert(tx::Transaction &t);
|
||||
|
||||
void update_label_index(const Label &label,
|
||||
VertexIndexRecord &&index_record);
|
||||
|
||||
VertexIndexRecordCollection& find_label_index(const Label& label);
|
||||
|
||||
|
||||
private:
|
||||
vertices_t vertices;
|
||||
Index<label_ref_t, VertexIndexRecordCollection> label_index;
|
||||
|
||||
ConcurrentMap<uint64_t, VertexRecord> vertices;
|
||||
AtomicCounter<uint64_t> counter;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user