Files
scylladb/cql3/functions/first_function.hh
Avi Kivity 0ae22a09d4 LICENSE: Update to version 1.1
Updated terms of non-commercial use (must be a never-customer).
2026-04-12 19:46:33 +03:00

19 lines
548 B
C++

// Copyright (C) 2023-present ScyllaDB
// SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.1
#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();
}