mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-27 03:45:11 +00:00
Only the simple case is supported so far. We will throw where unsupported. Signed-off-by: Glauber Costa <glommer@cloudius-systems.com>
49 lines
729 B
C++
49 lines
729 B
C++
/*
|
|
* Copyright 2015 Cloudius Systems
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <iostream>
|
|
#include "core/print.hh"
|
|
#include "core/sstring.hh"
|
|
#include "core/enum.hh"
|
|
|
|
namespace unimplemented {
|
|
|
|
enum class cause {
|
|
INDEXES,
|
|
LWT,
|
|
PAGING,
|
|
AUTH,
|
|
PERMISSIONS,
|
|
TRIGGERS,
|
|
COUNTERS,
|
|
METRICS,
|
|
MIGRATIONS,
|
|
COMPACT_TABLES,
|
|
GOSSIP,
|
|
TOKEN_RESTRICTION,
|
|
LEGACY_COMPOSITE_KEYS,
|
|
COLLECTION_RANGE_TOMBSTONES,
|
|
RANGE_QUERIES,
|
|
RANGE_DELETES,
|
|
THRIFT,
|
|
VALIDATION,
|
|
REVERSED,
|
|
COMPRESSION,
|
|
NONATOMIC,
|
|
};
|
|
|
|
void fail(cause what) __attribute__((noreturn));
|
|
void warn(cause what);
|
|
|
|
}
|
|
|
|
namespace std {
|
|
|
|
template <>
|
|
struct hash<unimplemented::cause> : enum_hash<unimplemented::cause> {};
|
|
|
|
}
|