Add stubs

This commit is contained in:
favstovol 2019-05-30 02:01:25 +03:00
parent 3175caa1c0
commit a82f4925ec
4 changed files with 13 additions and 5 deletions

View File

View File

@ -427,6 +427,7 @@ namespace ErrorCodes
extern const int BAD_TTL_EXPRESSION = 450;
extern const int BAD_TTL_FILE = 451;
extern const int SETTING_CONSTRAINT_VIOLATION = 452;
extern const int CASSANDRA_INTERNAL_ERROR = 453;
extern const int KEEPER_EXCEPTION = 999;
extern const int POCO_EXCEPTION = 1000;

View File

@ -40,7 +40,8 @@ namespace DB
namespace DB
{
namespace ErrorCodes {
namespace ErrorCodes
{
extern const int UNSUPPORTED_METHOD;
extern const int WRONG_PASSWORD;
}

View File

@ -44,9 +44,15 @@ public:
DictionarySourcePtr clone() const override { return std::make_unique<CassandraDictionarySource>(*this); }
BlockInputStreamPtr loadIds(const std::vector<UInt64> & ids) override;
BlockInputStreamPtr loadIds(const std::vector<UInt64> & /* ids */) override
{
throw Exception{"Method loadIds is not implemented yet", ErrorCodes::NOT_IMPLEMENTED};
}
BlockInputStreamPtr loadKeys(const Columns & key_columns, const std::vector<size_t> & requested_rows) override;
BlockInputStreamPtr loadKeys(const Columns & /* key_columns */, const std::vector<size_t> & /* requested_rows */) override
{
throw Exception{"Method loadKeys is not implemented yet", ErrorCodes::NOT_IMPLEMENTED};
}
BlockInputStreamPtr loadUpdatedAll() override
{