mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 19:32:07 +00:00
34 lines
1.1 KiB
C++
34 lines
1.1 KiB
C++
|
#pragma once
|
||
|
|
||
|
#include <Common/FieldVisitors.h>
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
|
||
|
/** Print readable and unique text dump of field type and value. */
|
||
|
class FieldVisitorDump : public StaticVisitor<String>
|
||
|
{
|
||
|
public:
|
||
|
String operator() (const Null & x) const;
|
||
|
String operator() (const UInt64 & x) const;
|
||
|
String operator() (const UInt128 & x) const;
|
||
|
String operator() (const UInt256 & x) const;
|
||
|
String operator() (const Int64 & x) const;
|
||
|
String operator() (const Int128 & x) const;
|
||
|
String operator() (const Int256 & x) const;
|
||
|
String operator() (const UUID & x) const;
|
||
|
String operator() (const Float64 & x) const;
|
||
|
String operator() (const String & x) const;
|
||
|
String operator() (const Array & x) const;
|
||
|
String operator() (const Tuple & x) const;
|
||
|
String operator() (const Map & x) const;
|
||
|
String operator() (const DecimalField<Decimal32> & x) const;
|
||
|
String operator() (const DecimalField<Decimal64> & x) const;
|
||
|
String operator() (const DecimalField<Decimal128> & x) const;
|
||
|
String operator() (const DecimalField<Decimal256> & x) const;
|
||
|
String operator() (const AggregateFunctionStateData & x) const;
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|