Files
scylladb/unimplemented.hh
Glauber Costa d31b12a3fd sstables: implement conversion of range tombstone
Only the simple case is supported so far. We will throw where unsupported.

Signed-off-by: Glauber Costa <glommer@cloudius-systems.com>
2015-05-13 17:38:56 -04:00

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> {};
}