e5c814e022
Summary: Extracted constants to codes.hpp. Extracted bolt constants. Extracted StreamBuffer and fixed data type. Extracted bolt testdata. Added bolt buffer and tests. Added bolt decoder buffer and tests. Renamed bolt testdata. Reviewers: dgleich, buda, matej.gradicek Reviewed By: buda Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D220
15 lines
527 B
C++
15 lines
527 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/encoder/result_stream.hpp"
|
|
#include "io/network/socket.hpp"
|
|
using Stream = communication::bolt::ResultStream<communication::bolt::Encoder<
|
|
communication::bolt::ChunkedEncoderBuffer<io::network::Socket>>>;
|
|
#else
|
|
#include "../stream/print_record_stream.hpp"
|
|
using Stream = PrintRecordStream;
|
|
#endif
|
|
#include "data_structures/bitset/static_bitset.hpp"
|