mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-03 07:00:47 +00:00
22 lines
359 B
C++
22 lines
359 B
C++
|
#include <Dictionaries/DictionaryBlockInputStreamBase.h>
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
|
||
|
String DictionaryBlockInputStreamBase::getID() const
|
||
|
{
|
||
|
std::stringstream ss;
|
||
|
ss << static_cast<const void*> (this);
|
||
|
return ss.str();
|
||
|
}
|
||
|
|
||
|
Block DictionaryBlockInputStreamBase::readImpl()
|
||
|
{
|
||
|
if (was_read)
|
||
|
return Block();
|
||
|
|
||
|
was_read = true;
|
||
|
return block;
|
||
|
}
|
||
|
|
||
|
}
|