Files
scylladb/cql3/functions/first_function.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

19 lines
548 B
C++

// Copyright (C) 2023-present ScyllaDB
// SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.0
#pragma once
#include "aggregate_function.hh"
#include "function_name.hh"
/// Factory methods for aggregate functions.
namespace cql3::functions::aggregate_fcts {
/// A aggregate function that accepts a single input; the aggregation result
/// is the first value seen (if the first value is NULL then that's the result too)
shared_ptr<aggregate_function> make_first_function(data_type io_type);
function_name first_function_name();
}