b90375c3ae
Summary: This diff removes the need for a database when parsing a query and creating an Ast. Instead of storing storage::{Label,Property,EdgeType} in Ast nodes, we store the name and an index into all of the names. This allows for easy creation of a map from {Label,Property,EdgeType} index into the concrete storage type. Obviously, this comes with a performance penalty during execution, but it should be minor. The upside is that the query/frontend minimally depends on storage (PropertyValue), which makes writing tests easier as well as running them a lot faster (there is no database setup). This is most noticeable in the ast_serialization test which took a long time due to start up of a distributed database. Reviewers: mtomic, llugovic Reviewed By: mtomic Subscribers: mferencevic, pullbot Differential Revision: https://phabricator.memgraph.io/D1774 |
||
---|---|---|
.. | ||
data_structures | ||
query | ||
CMakeLists.txt | ||
edge_storage.cpp | ||
expansion.cpp | ||
mvcc.cpp | ||
rpc.cpp | ||
serialization.cpp | ||
skip_list_common.hpp | ||
skip_list_random.cpp | ||
skip_list_real_world.cpp | ||
skip_list_same_item.cpp | ||
skip_list_vs_stl.cpp | ||
tx_engine.cpp |