ClickHouse/dbms/src/Common/iostream_debug_helpers.h
proller 8ef51bf19b Fixing PerformanceTest: table_exists condition, move getMemoryAmount function to file. Add more debug helpers (#905)
* Fix missing includes

* ComplexKeyCacheDictionary: Move includes to .cpp

* Fixing PerformanceTest: table_exists condition, move getMemoryAmount function to file. Add more debug helpers

* Multiplatform memory size getter

* Requested changes

* Requested changes

* Requested changes

* fix

* Requested changes
2017-06-22 18:57:37 +03:00

41 lines
1.4 KiB
C++

#pragma once
#include <iostream>
namespace DB { class IBlockInputStream; }
std::ostream & operator<<(std::ostream & stream, const DB::IBlockInputStream & what);
namespace DB { class Field; }
std::ostream & operator<<(std::ostream & stream, const DB::Field & what);
namespace DB { struct NameAndTypePair; }
std::ostream & operator<<(std::ostream & stream, const DB::NameAndTypePair & what);
namespace DB { class IDataType; }
std::ostream & operator<<(std::ostream & stream, const DB::IDataType & what);
namespace DB { class IStorage; }
std::ostream & operator<<(std::ostream & stream, const DB::IStorage & what);
namespace DB { class TableStructureReadLock; }
std::ostream & operator<<(std::ostream & stream, const DB::TableStructureReadLock & what);
namespace DB { class IFunction; }
std::ostream & operator<<(std::ostream & stream, const DB::IFunction & what);
namespace DB { class Block; }
std::ostream & operator<<(std::ostream & stream, const DB::Block & what);
namespace DB { struct ColumnWithTypeAndName; }
std::ostream & operator<<(std::ostream & stream, const DB::ColumnWithTypeAndName & what);
namespace DB { class IColumn; }
std::ostream & operator<<(std::ostream & stream, const DB::IColumn & what);
#include <Client/Connection.h>
std::ostream & operator<<(std::ostream & stream, const DB::Connection::Packet & what);
/// some operator<< should be declared before operator<<(... std::shared_ptr<>)
#include <common/iostream_debug_helpers.h>