ClickHouse/dbms/src/Dictionaries/DictionaryBlockInputStreamBase.cpp

22 lines
359 B
C++
Raw Normal View History

2017-04-28 18:33:31 +00:00
#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;
}
}