Files
scylladb/tools/lua_sstable_consumer.hh
Avi Kivity f3eade2f62 treewide: relicense to ScyllaDB-Source-Available-1.0
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/
2024-12-18 17:45:13 +02:00

26 lines
718 B
C++

/*
* Copyright (C) 2022-present ScyllaDB
*/
/*
* SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.0
*/
#pragma once
#include <seastar/util/program-options.hh>
#include "schema/schema_fwd.hh"
#include "tools/sstable_consumer.hh"
class reader_permit;
/// Sstable consumer consuming the content via a lua script
///
/// Loads the script from /p script_path and feeds the consumed content to the
/// script.
/// See the help section for the script operation in ./scylla-sstable.cc for more
/// details on the Lua API.
future<std::unique_ptr<sstable_consumer>> make_lua_sstable_consumer(schema_ptr s, reader_permit p, std::string_view script_path,
program_options::string_map script_args);