ClickHouse/src/IO/WithFileName.h

20 lines
310 B
C++
Raw Normal View History

2022-04-15 23:56:45 +00:00
#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);
2022-04-15 23:56:45 +00:00
}