mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-26 11:30:36 +00:00
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>
52 lines
767 B
C++
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> {};
|
|
|
|
}
|