memgraph/src/database
florijan 1953f3563f Refactor GraphDb so ::impl classes inherit GraphDb
Summary:
A slight insanity here... I realized I will need to create
`GraphDbAccessor` instance (which need `&GraphDb`) within some members
of `::impl` classes. Within those classes I can pass `this` to those
members, if `this` is a valid `GraphDb`. Semantically it really is (at
the moment), but heirarchically it wasn't. This diff changes that.
`GraphDb`  is now only an interface. `PublicBase` is the base for all
the public classes, `PrivateBase` for the `::impl` classes. Seems to
work.

Oh yes, another thing to keep in mind when doing this is that I should avoid
calling virtual functions in public classes (the motivation for the double
heirarchy). Before this diff the getters weren't virtual, now they are, so
I should have made all the appropriate changes in code as well.

Buda, was this a task I could have delegated to you or Cula?

Reviewers: teon.banek, dgleich, buda

Reviewed By: teon.banek

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1120
2018-01-19 15:40:04 +01:00
..
indexes Migrate db::types to storage:: 2018-01-17 10:35:12 +01:00
config.cpp Refactor GraphDb 2018-01-12 16:47:24 +01:00
counters.cpp Rename NetworkEndpoint 2018-01-15 15:47:37 +01:00
counters.hpp Rename NetworkEndpoint 2018-01-15 15:47:37 +01:00
graph_db_accessor.cpp Implement GraphDbAccessor creation for running transaction 2018-01-19 13:21:54 +01:00
graph_db_accessor.hpp Implement GraphDbAccessor creation for running transaction 2018-01-19 13:21:54 +01:00
graph_db.cpp Refactor GraphDb so ::impl classes inherit GraphDb 2018-01-19 15:40:04 +01:00
graph_db.hpp Refactor GraphDb so ::impl classes inherit GraphDb 2018-01-19 15:40:04 +01:00
state_delta.cpp Refactor operations into StateDeltas 2017-12-07 14:23:41 +01:00
state_delta.hpp Make WAL recovery linear 2017-12-22 10:02:09 +01:00
storage_gc.hpp Refactor GraphDb 2018-01-12 16:47:24 +01:00
storage.hpp Remove counters 2018-01-18 16:31:53 +01:00