mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 13:02:00 +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);
|
|
|
|
}
|