2015-10-08 06:58:29 +08:00
|
|
|
#ifndef MEMGRAPH_DATABASE_DB_HPP
|
|
|
|
#define MEMGRAPH_DATABASE_DB_HPP
|
|
|
|
|
2015-10-12 02:59:27 +08:00
|
|
|
#include "storage/graph.hpp"
|
|
|
|
#include "transactions/engine.hpp"
|
2015-10-08 06:58:29 +08:00
|
|
|
#include "transactions/commit_log.hpp"
|
|
|
|
|
|
|
|
class Db
|
|
|
|
{
|
|
|
|
public:
|
2015-10-12 02:59:27 +08:00
|
|
|
using sptr = std::shared_ptr<Db>;
|
2015-10-08 06:58:29 +08:00
|
|
|
|
2015-10-12 02:59:27 +08:00
|
|
|
Graph graph;
|
|
|
|
tx::Engine tx_engine;
|
2015-10-08 06:58:29 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|