mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-12 02:23:14 +00:00
95bb52b8e5
remove IDictionarySource::reset
22 lines
431 B
C++
22 lines
431 B
C++
#pragma once
|
|
|
|
#include <DB/DataStreams/IBlockInputStream.h>
|
|
#include <vector>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
class IDictionarySource
|
|
{
|
|
public:
|
|
virtual BlockInputStreamPtr loadAll() = 0;
|
|
virtual BlockInputStreamPtr loadId(const std::uint64_t id) = 0;
|
|
virtual BlockInputStreamPtr loadIds(const std::vector<std::uint64_t> ids) = 0;
|
|
|
|
virtual ~IDictionarySource() = default;
|
|
};
|
|
|
|
using DictionarySourcePtr = std::unique_ptr<IDictionarySource>;
|
|
|
|
}
|