Files
scylladb/unimplemented.hh
Glauber Costa f84148c335 schema: support cf type, and is_super
All CFMetaData has a type, either Standard or Super. Right now, we do not
support Super, but we still would like to query for it, and use that information
to build our schemas.

Signed-off-by: Glauber Costa <glommer@cloudius-systems.com>
2015-07-10 10:29:02 -04:00

52 lines
767 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,
CONSISTENCY,
HINT,
SUPER,
};
void fail(cause what) __attribute__((noreturn));
void warn(cause what);
}
namespace std {
template <>
struct hash<unimplemented::cause> : enum_hash<unimplemented::cause> {};
}