memgraph/tests
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
..
benchmark Implement UNION query combinator 2017-12-13 09:54:00 +01:00
concurrent Assert on endpoint failures 2017-12-12 14:27:24 +01:00
data Replace map with bitset in stripped query 2017-08-02 22:17:36 +02:00
drivers Add C# driver test examples 2017-11-10 15:46:56 +01:00
macro_benchmark Assert on endpoint failures 2017-12-12 14:27:24 +01:00
manual Implement UNION query combinator 2017-12-13 09:54:00 +01:00
property_based Prepare record accessor for distributed 2017-12-08 14:12:18 +01:00
public_benchmark Remove extension from Python executables 2017-11-27 14:39:51 +01:00
qa Add TED Talk example to quick start 2017-12-14 13:48:07 +01:00
stress Reuse sessions in bipartite 2017-12-05 15:55:35 +01:00
unit Serialize Ast classes 2017-12-20 13:28:34 +01:00
client-stress.sh Migrate command line args to gflgs in tests 2017-07-06 13:54:12 +02:00
CMakeLists.txt Remove unused stuff from CMakeLists 2017-10-16 13:45:18 +02:00