Files
scylladb/unimplemented.hh
Raphael S. Carvalho fdf50ef643 sstables: add initial support to compression
Starting with LZ4, the default compressor.
Stub functions were added to other compression algorithms, which should
eventually be replaced with an actual implementation.

Signed-off-by: Raphael S. Carvalho <raphaelsc@cloudius-systems.com>
Reviewed-by: Nadav Har'El <nyh@cloudius-systems.com>
2015-04-19 10:07:29 +03:00

48 lines
712 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,
COLLECTIONS,
COUNTERS,
METRICS,
MIGRATIONS,
COMPACT_TABLES,
GOSSIP,
TOKEN_RESTRICTION,
LEGACY_COMPOSITE_KEYS,
COLLECTION_RANGE_TOMBSTONES,
RANGE_QUERIES,
THRIFT,
VALIDATION,
REVERSED,
COMPRESSION,
};
void fail(cause what) __attribute__((noreturn));
void warn(cause what);
}
namespace std {
template <>
struct hash<unimplemented::cause> : enum_hash<unimplemented::cause> {};
}