memgraph/src
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
..
communication Fix RPC client cache 2018-01-17 18:07:01 +01:00
data_structures Remove executor not run option 2017-12-18 14:36:15 +01:00
database Refactor GraphDb so ::impl classes inherit GraphDb 2018-01-19 15:40:04 +01:00
distributed Migrate db::types to storage:: 2018-01-17 10:35:12 +01:00
durability Worker id in snapshot/wal 2018-01-18 11:46:47 +01:00
io/network Fix RPC client cache 2018-01-17 18:07:01 +01:00
mvcc Refactor global ids and prepare for distributed 2017-12-05 13:05:55 +01:00
query Throw RecordDeletedError if updating a deleted record 2018-01-17 14:30:57 +01:00
storage Add database master test 2018-01-19 14:52:05 +01:00
threading Take care of warnings/errors created by cppcheck. 2017-11-10 10:28:02 +01:00
transactions Implement GraphDbAccessor creation for running transaction 2018-01-19 13:21:54 +01:00
utils Add virtual destructors 2018-01-19 10:40:09 +01:00
CMakeLists.txt Cleanup utils::File API 2018-01-16 15:38:12 +01:00
config.hpp Make csv_to_snapshot more user friendly 2017-10-26 09:37:56 +02:00
memgraph_bolt.cpp Rename NetworkEndpoint 2018-01-15 15:47:37 +01:00
version.hpp.in Add version.hpp.in and display it on '--version' flag 2017-09-27 09:04:44 +02:00