813a3b9eed
Summary: Moved server and worker from bolt to communication. Started templatization. Started removal of Bolt class. Removed unnecessary files from network. Converted states to template functions. Bolt::Session is now a template. Merge remote-tracking branch 'origin/dev' into mg_refactor_network Merged bolt_serializer.cpp into hpp. Removed obsolete include. Initial version of bolt session unit test. Uncommented leftover log commands. Reimplemented io::Socket. Added client-stress.sh script. Reviewers: dgleich, buda Reviewed By: dgleich, buda Subscribers: pullbot, mferencevic, buda Differential Revision: https://phabricator.memgraph.io/D64
13 lines
388 B
C++
13 lines
388 B
C++
#pragma once
|
|
|
|
// the flag is only used in hardcoded queries compilation
|
|
// see usage in plan_compiler.hpp
|
|
#ifndef HARDCODED_OUTPUT_STREAM
|
|
#include "communication/bolt/v1/serialization/record_stream.hpp"
|
|
#include "io/network/socket.hpp"
|
|
using Stream = bolt::RecordStream<io::network::Socket>;
|
|
#else
|
|
#include "../stream/print_record_stream.hpp"
|
|
using Stream = PrintRecordStream;
|
|
#endif
|