mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-21 17:10:35 +00:00
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>
48 lines
712 B
C++
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> {};
|
|
|
|
}
|