Drop the AGPL license in favor of a source-available license. See the blog post [1] for details. [1] https://www.scylladb.com/2024/12/18/why-were-moving-to-a-source-available-license/
30 lines
656 B
C++
30 lines
656 B
C++
/*
|
|
* Copyright (C) 2018-present ScyllaDB
|
|
*
|
|
*/
|
|
|
|
/*
|
|
* SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.0
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "sstables/types.hh"
|
|
#include "version.hh"
|
|
#include "component_type.hh"
|
|
|
|
namespace sstables {
|
|
|
|
class sstable_version_constants {
|
|
public:
|
|
using component_map_t = std::unordered_map<component_type, sstring, enum_hash<component_type>>;
|
|
static const sstring TOC_SUFFIX;
|
|
static const sstring TEMPORARY_TOC_SUFFIX;
|
|
static const component_map_t& get_component_map(sstable_version_types);
|
|
sstable_version_constants() = delete;
|
|
protected:
|
|
static component_map_t create_component_map();
|
|
};
|
|
|
|
}
|