mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-19 21:03:51 +00:00
20 lines
310 B
C++
20 lines
310 B
C++
#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);
|
|
|
|
}
|