memgraph/libs
Teon Banek 5f7837d613 Serialize Ast classes
Summary:
Although the first solution used cereal, the final implementation uses
boost. Since the cereal is still used in the codebase, compilation has
been modified to support multithreaded cereal.

In addition to serializing Ast classes, the following also needed to be
serialized:

  * GraphDbTypes
  * Symbol
  * TypedValue

TypedValue is treated specially, by inlining the serialization code in
the Ast class, concretely PrimitiveLiteral.

Another special case was the Function Ast class, which now stores a
function name which is resolved to a concrete std::function on
construction.

Tests have been added for serialized Ast in
tests/unit/cypher_main_visitor

Reviewers: mferencevic, mislav.bradac, florijan

Reviewed By: mislav.bradac

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1067
2017-12-20 13:28:34 +01:00
..
.gitignore A better configuration of cmake & clion 2017-02-20 01:25:57 +01:00
cleanup.sh Refactored harness and added PostgreSQL support. 2017-09-05 09:45:41 +02:00
CMakeLists.txt Serialize Ast classes 2017-12-20 13:28:34 +01:00
setup.sh Don't clobber local changes to libs when running setup 2017-11-28 10:01:56 +01:00