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/
32 lines
677 B
C++
32 lines
677 B
C++
/*
|
|
* Copyright (C) 2019-present ScyllaDB
|
|
*
|
|
*/
|
|
|
|
/*
|
|
* SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.0
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <seastar/core/weak_ptr.hh>
|
|
|
|
#include "compress.hh"
|
|
#include "sstables/types.hh"
|
|
#include "utils/i_filter.hh"
|
|
|
|
namespace sstables {
|
|
|
|
// Immutable components that can be shared among shards.
|
|
struct shareable_components {
|
|
sstables::compression compression;
|
|
utils::filter_ptr filter;
|
|
sstables::summary summary;
|
|
sstables::statistics statistics;
|
|
std::optional<sstables::scylla_metadata> scylla_metadata;
|
|
weak_ptr<sstables::checksum> checksum;
|
|
std::optional<uint32_t> digest;
|
|
};
|
|
|
|
} // namespace sstables
|