aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/IO/WithFileName.h
blob: 595f1a768c598234c436899f2ffc60f5f10ba633 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once
#include <base/types.h>

namespace DB
{

class ReadBuffer;

class WithFileName
{
public:
    virtual String getFileName() const = 0;
    virtual ~WithFileName() = default;
};

String getFileNameFromReadBuffer(const ReadBuffer & in);
String getExceptionEntryWithFileName(const ReadBuffer & in);

}